aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-08-07 02:28:40 -0700
committerKenneth Graunke <[email protected]>2010-08-09 11:42:37 -0700
commitdbff7b541e4be26cc9363956af8595ec052c4e56 (patch)
tree7cb17e008ae8f80326b7ce9bab19a668f15443fe
parentc88e60a27b8d5675cbf488e754537739c2c40bfd (diff)
glsl2: Use gl_DepthRange's proper name.
It was being incorrectly added as gl_DepthRangeParameters, which is the type name, not the variable name.
-rw-r--r--src/glsl/ir_variable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_variable.cpp b/src/glsl/ir_variable.cpp
index d9a16d42879..d88cb515b47 100644
--- a/src/glsl/ir_variable.cpp
+++ b/src/glsl/ir_variable.cpp
@@ -141,7 +141,7 @@ generate_110_uniforms(exec_list *instructions,
add_uniform(instructions, state, "gl_TextureMatrix", mat4_array_type);
- add_uniform(instructions, state, "gl_DepthRangeParameters",
+ add_uniform(instructions, state, "gl_DepthRange",
state->symbols->get_type("gl_DepthRangeParameters"));
add_uniform(instructions, state, "gl_ClipPlane",