glsl: add missing ambient field to gl_LightModel
Again, this is a one-element struct that was incorrectly missing the field.
This commit is contained in:
committed by
Kenneth Graunke
parent
fc76d72763
commit
c3e3793c32
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user