driconf: Add allow_glsl_builtin_variable_redeclaration option
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.
v2 (Samuel Pitoiset):
- Rename allow_glsl_builtin_redeclaration ->
allow_glsl_builtin_variable_redeclaration
Signed-off-by: John Brooks <john@fastquake.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
committed by
Samuel Pitoiset
parent
61d8f3387d
commit
bf4d7671f4
@@ -246,6 +246,7 @@ struct st_config_options
|
||||
unsigned force_glsl_version;
|
||||
boolean force_s3tc_enable;
|
||||
boolean allow_glsl_extension_directive_midshader;
|
||||
boolean allow_glsl_builtin_variable_redeclaration;
|
||||
boolean allow_higher_compat_version;
|
||||
boolean glsl_zero_init;
|
||||
boolean force_glsl_abs_sqrt;
|
||||
|
||||
Reference in New Issue
Block a user