mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: Update intel bad driver log.
Assume that driver support is good when GL_ARB_texture_barrier and GL_ARB_direct_state_access are both supported, disable the log in that case. Kaby Lake and above already support the required extensions (windows) so the log is useless. It should be the same case for Skylake. Mesa driver should already be good. Note: SSO is still broken even on latest igpu.
This commit is contained in:
parent
4ab29eb280
commit
ece7d6e718
|
@ -364,7 +364,7 @@ namespace GLLoader {
|
||||||
// On linux assumes the free driver if it isn't nvidia or amd pro driver
|
// On linux assumes the free driver if it isn't nvidia or amd pro driver
|
||||||
mesa_driver = !vendor_id_nvidia && !vendor_id_amd;
|
mesa_driver = !vendor_id_nvidia && !vendor_id_amd;
|
||||||
#endif
|
#endif
|
||||||
|
// As of 2019 SSO is still broken on intel (Kaby Lake confirmed).
|
||||||
buggy_sso_dual_src = vendor_id_intel || vendor_id_amd /*|| amd_legacy_buggy_driver*/;
|
buggy_sso_dual_src = vendor_id_intel || vendor_id_amd /*|| amd_legacy_buggy_driver*/;
|
||||||
|
|
||||||
if (theApp.GetConfigI("override_geometry_shader") != -1) {
|
if (theApp.GetConfigI("override_geometry_shader") != -1) {
|
||||||
|
@ -454,7 +454,8 @@ namespace GLLoader {
|
||||||
"https://github.com/PCSX2/pcsx2/wiki/OpenGL-and-AMD-GPUs---All-you-need-to-know\n");
|
"https://github.com/PCSX2/pcsx2/wiki/OpenGL-and-AMD-GPUs---All-you-need-to-know\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vendor_id_intel) {
|
if (vendor_id_intel && !found_GL_ARB_texture_barrier && !found_GL_ARB_direct_state_access) {
|
||||||
|
// Assume that driver support is good when texture barrier and DSA is supported, disable the log then.
|
||||||
fprintf(stderr, "The OpenGL renderer is inefficient on Intel GPUs due to an inefficient driver.\n"
|
fprintf(stderr, "The OpenGL renderer is inefficient on Intel GPUs due to an inefficient driver.\n"
|
||||||
"Check out the link below for further information.\n"
|
"Check out the link below for further information.\n"
|
||||||
"https://github.com/PCSX2/pcsx2/wiki/OpenGL-and-Intel-GPUs-All-you-need-to-know\n");
|
"https://github.com/PCSX2/pcsx2/wiki/OpenGL-and-Intel-GPUs-All-you-need-to-know\n");
|
||||||
|
|
Loading…
Reference in New Issue