summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index fafc6200bed..1fbf574bc8b 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -1079,9 +1079,9 @@ static const struct {
{"gl_LightModel", NULL,
{STATE_LIGHTMODEL_AMBIENT, 0}, SWIZZLE_XYZW, false},
- {"gl_FrontLightModelProduct", NULL,
+ {"gl_FrontLightModelProduct", "sceneColor",
{STATE_LIGHTMODEL_SCENECOLOR, 0}, SWIZZLE_XYZW, false},
- {"gl_BackLightModelProduct", NULL,
+ {"gl_BackLightModelProduct", "sceneColor",
{STATE_LIGHTMODEL_SCENECOLOR, 1}, SWIZZLE_XYZW, false},
{"gl_FrontLightProduct", "ambient",