diff options
author | Francisco Jerez <[email protected]> | 2015-08-17 01:39:38 +0300 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-08-20 12:28:48 +0300 |
commit | a976b7255b2c84e6cccefb447029add02ddf86ae (patch) | |
tree | 4e36f616b125e938f7197c0d4b935306f27f25c2 /src/glsl/builtin_variables.cpp | |
parent | 9d0bb6be097080e2568b7b6cc18f2bf800fed1b1 (diff) |
glsl: Remove duplicate definition of gl_MaxTess*ImageUniforms built-in constants.
These seem to have been re-added at some point during the
ARB_tessellation_shader implementation work. AFAICT the second
(correct) definition of each constant would have had no effect because
the symbols were already defined.
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
-rw-r--r-- | src/glsl/builtin_variables.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index c6fdccfd721..4966ba3ff4e 100644 --- a/src/glsl/builtin_variables.cpp +++ b/src/glsl/builtin_variables.cpp @@ -754,8 +754,6 @@ builtin_variable_generator::generate_constants() state->Const.MaxImageSamples); add_const("gl_MaxVertexImageUniforms", state->Const.MaxVertexImageUniforms); - add_const("gl_MaxTessControlImageUniforms", 0); - add_const("gl_MaxTessEvaluationImageUniforms", 0); add_const("gl_MaxGeometryImageUniforms", state->Const.MaxGeometryImageUniforms); add_const("gl_MaxFragmentImageUniforms", |