6 Oct
2021
6 Oct
'21
4 p.m.
On Wed, 6 Oct 2021 at 16:10, Matteo Bruni <mbruni(a)codeweavers.com> wrote:
@@ -8991,6 +8996,8 @@ static GLuint shader_glsl_generate_ffp_vertex_shader(struct shader_glsl_priv *pr
shader_glsl_add_version_declaration(buffer, gl_info);
+ shader_addline(buffer, "invariant gl_Position;\n"); + if (shader_glsl_use_explicit_attrib_location(gl_info)) shader_addline(buffer, "#extension GL_ARB_explicit_attrib_location : enable\n");
This introduces GLSL compilation errors in the tests: 0:3(1): error: #extension directive is not allowed in the middle of a shader