add extra GL extension declare to work around Intel driver issue

This commit is contained in:
baldurk
2023-03-02 15:24:43 +00:00
parent 6a7df564fc
commit 61ef550344
+4 -3
View File
@@ -425,9 +425,10 @@ void GLReplay::InitDebugData()
"#extension GL_ARB_shader_bit_encoding : require\n";
}
vs = GenerateGLSLShader(
GetEmbeddedResource(glsl_blit_vert), shaderType, glslBaseVer,
"#extension GL_ARB_separate_shader_objects : require\n#define FORCE_IO_LOCATION 1");
vs = GenerateGLSLShader(GetEmbeddedResource(glsl_blit_vert), shaderType, glslBaseVer,
"#extension GL_ARB_separate_shader_objects : require\n"
"#extension GL_ARB_explicit_attrib_location : require\n"
"#define FORCE_IO_LOCATION 1");
// used to combine with custom shaders.
// this has to have explicit locations on the output even though we don't normally use that,