On Wed, Oct 6, 2021 at 6:00 PM Henri Verbeet hverbeet@gmail.com wrote:
On Wed, 6 Oct 2021 at 16:10, Matteo Bruni mbruni@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
Oops, not sure how I missed that.