projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc76d72
)
glsl: add missing ambient field to gl_LightModel
author
Luca Barbieri
<luca@luca-barbieri.com>
Wed, 18 Aug 2010 10:52:57 +0000
(12:52 +0200)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 20 Aug 2010 20:01:09 +0000
(13:01 -0700)
Again, this is a one-element struct that was incorrectly missing the
field.
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index fe2d8982d0b36defc0f55c2c386db0cb25c147ed..58324944fe82f43ca7267bf44e9e2ef12b51e3de 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-1076,7
+1076,7
@@
static const struct {
{"gl_LightSource", "quadraticAttenuation",
{STATE_LIGHT, 0, STATE_ATTENUATION}, SWIZZLE_ZZZZ, true},
- {"gl_LightModel",
NULL
,
+ {"gl_LightModel",
"ambient"
,
{STATE_LIGHTMODEL_AMBIENT, 0}, SWIZZLE_XYZW, false},
{"gl_FrontLightModelProduct", "sceneColor",