Re: [Mesa-dev] [PATCH 1/3] driconf: Add allow_glsl_builtin_redeclaration option

2017-05-13 Thread Samuel Pitoiset
I would rename to allow_glsl_builtin_variable_redeclaration. On 05/12/2017 03:39 PM, John Brooks wrote: This option will allow GLSL builtins to be redeclared verbatim (e.g. redeclaring "in int gl_VertexID" in a vertex shader). This is not strictly valid and would normally fail to compile, but so

[Mesa-dev] [PATCH 1/3] driconf: Add allow_glsl_builtin_redeclaration option

2017-05-12 Thread John Brooks
This option will allow GLSL builtins to be redeclared verbatim (e.g. redeclaring "in int gl_VertexID" in a vertex shader). This is not strictly valid and would normally fail to compile, but some applications (such as newer Techland ports) do it and need more leniency. Signed-off-by: John Brooks -