projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88e60a
)
glsl2: Use gl_DepthRange's proper name.
author
Kenneth Graunke
<kenneth@whitecape.org>
Sat, 7 Aug 2010 09:28:40 +0000
(
02:28
-0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 9 Aug 2010 18:42:37 +0000
(11:42 -0700)
It was being incorrectly added as gl_DepthRangeParameters, which is the
type name, not the variable name.
src/glsl/ir_variable.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_variable.cpp
b/src/glsl/ir_variable.cpp
index d9a16d42879fede2f3443d6c3fefcacbe7e13a7c..d88cb515b470f8efba94160a7de262d233ea5fc2 100644
(file)
--- 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_DepthRange
Parameters
",
+ add_uniform(instructions, state, "gl_DepthRange",
state->symbols->get_type("gl_DepthRangeParameters"));
add_uniform(instructions, state, "gl_ClipPlane",