VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)

This commit is contained in:
TellowKrinkle
2022-12-11 01:15:15 -06:00
parent ba3c38a63f
commit f25a0b43b6
7 changed files with 19 additions and 2 deletions

View File

@ -528,6 +528,10 @@ bool PopulateConfig(GLContext* m_main_gl_context)
glEnable(GL_PROGRAM_POINT_SIZE);
}
// Supported by all GS-supporting ES and 4.3+
g_Config.backend_info.bSupportsGLLayerInFS = g_Config.backend_info.bSupportsGeometryShaders &&
g_ogl_config.eSupportedGLSLVersion >= Glsl430;
g_Config.backend_info.bSupportsBBox = g_Config.backend_info.bSupportsFragmentStoresAndAtomics;
// Either method can do early-z tests. See PixelShaderGen for details.