mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #1508 from PCSX2/gsdx-allow-sso-amd
Finally AMD delivered the fix to support separate shader object !!!
This commit is contained in:
commit
f9d8cb97c0
|
@ -264,7 +264,9 @@ namespace GLLoader {
|
||||||
// Name changed but driver is still bad!
|
// Name changed but driver is still bad!
|
||||||
if (strstr(vendor, "ATI") || strstr(vendor, "Advanced Micro Devices"))
|
if (strstr(vendor, "ATI") || strstr(vendor, "Advanced Micro Devices"))
|
||||||
fglrx_buggy_driver = true;
|
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;
|
legacy_fglrx_buggy_driver = true;
|
||||||
if (strstr(vendor, "NVIDIA Corporation"))
|
if (strstr(vendor, "NVIDIA Corporation"))
|
||||||
nvidia_buggy_driver = true;
|
nvidia_buggy_driver = true;
|
||||||
|
@ -276,9 +278,9 @@ namespace GLLoader {
|
||||||
mesa_amd_buggy_driver = intel_buggy_driver = true;
|
mesa_amd_buggy_driver = intel_buggy_driver = true;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#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
|
#else
|
||||||
buggy_sso_dual_src = fglrx_buggy_driver || legacy_fglrx_buggy_driver;
|
buggy_sso_dual_src = legacy_fglrx_buggy_driver;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (theApp.GetConfigI("override_geometry_shader") != -1) {
|
if (theApp.GetConfigI("override_geometry_shader") != -1) {
|
||||||
|
|
Loading…
Reference in New Issue