Mesa (master): glsl: Remove bogus "ambient" field from vec4 gl_TextureEnvColor.
Kenneth Graunke
kwg at kemper.freedesktop.org
Fri Aug 20 20:02:23 UTC 2010
Module: Mesa
Branch: master
Commit: d6cc7191daa249463b20e2965dc1006288539b1e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6cc7191daa249463b20e2965dc1006288539b1e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Aug 20 12:57:21 2010 -0700
glsl: Remove bogus "ambient" field from vec4 gl_TextureEnvColor.
---
src/mesa/program/ir_to_mesa.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 5832494..9fdeaa9 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -1098,7 +1098,7 @@ static const struct {
{"gl_BackLightProduct", "specular",
{STATE_LIGHTPROD, 0, 1, STATE_SPECULAR}, SWIZZLE_XYZW, true},
- {"gl_TextureEnvColor", "ambient",
+ {"gl_TextureEnvColor", NULL,
{STATE_TEXENV_COLOR, 0}, SWIZZLE_XYZW, true},
{"gl_EyePlaneS", NULL,
More information about the mesa-commit
mailing list