Skip to content

Commit

Permalink
Finally AMD delivered the fix to support separate shader object !!!
Browse files Browse the repository at this point in the history
v2: blacklist AMD driver from the start of 2016
Please note that it is highly recommended to upgrade to a stable&working driver
  • Loading branch information
gregory38 committed Sep 1, 2016
1 parent 448fee7 commit b546d09
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plugins/GSdx/GLLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ namespace GLLoader {
// Name changed but driver is still bad!
if (strstr(vendor, "ATI") || strstr(vendor, "Advanced Micro Devices"))
fglrx_buggy_driver = true;
if (fglrx_buggy_driver && strstr((const char*)&s[v], " 15.")) // blacklist all 2015 drivers
if (fglrx_buggy_driver && (
strstr((const char*)&s[v], " 15.") // blacklist all 2015 drivers
|| strstr((const char*)&s[v], " 16.1"))) // And start of 2016
legacy_fglrx_buggy_driver = true;
if (strstr(vendor, "NVIDIA Corporation"))
nvidia_buggy_driver = true;
Expand All @@ -276,9 +278,9 @@ namespace GLLoader {
mesa_amd_buggy_driver = intel_buggy_driver = true;

#ifdef _WIN32
buggy_sso_dual_src = intel_buggy_driver || fglrx_buggy_driver || legacy_fglrx_buggy_driver;
buggy_sso_dual_src = intel_buggy_driver || legacy_fglrx_buggy_driver;
#else
buggy_sso_dual_src = fglrx_buggy_driver || legacy_fglrx_buggy_driver;
buggy_sso_dual_src = legacy_fglrx_buggy_driver;
#endif

if (theApp.GetConfigI("override_geometry_shader") != -1) {
Expand Down

0 comments on commit b546d09

Please sign in to comment.