From: Kenneth Graunke Date: Sat, 7 Aug 2010 09:28:40 +0000 (-0700) Subject: glsl2: Use gl_DepthRange's proper name. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbff7b541e4be26cc9363956af8595ec052c4e56;p=mesa.git glsl2: Use gl_DepthRange's proper name. It was being incorrectly added as gl_DepthRangeParameters, which is the type name, not the variable name. --- 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",