projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ceddc
)
glsl2: add gl_LightModel built-in uniform.
author
Aras Pranckevicius
<aras@unity3d.com>
Wed, 4 Aug 2010 15:11:32 +0000
(17:11 +0200)
committer
Eric Anholt
<eric@anholt.net>
Wed, 4 Aug 2010 21:41:01 +0000
(14:41 -0700)
src/glsl/builtin_variables.h
patch
|
blob
|
history
diff --git
a/src/glsl/builtin_variables.h
b/src/glsl/builtin_variables.h
index 9551e1accf9ca4820bad745ee908a64d0f9bb109..2ec7d621bbf53486bf9efdf54fb4401e6e9032dd 100644
(file)
--- a/
src/glsl/builtin_variables.h
+++ b/
src/glsl/builtin_variables.h
@@
-93,5
+93,6
@@
static const builtin_variable builtin_110_deprecated_uniforms[] = {
{ ir_var_uniform, -1, "mat4", "gl_ProjectionMatrixInverseTranspose" },
{ ir_var_uniform, -1, "mat4", "gl_ModelViewProjectionMatrixInverseTranspose" },
{ ir_var_uniform, -1, "float", "gl_NormalScale" },
+ { ir_var_uniform, -1, "gl_LightModelParameters", "gl_LightModel"},
};