glsl2: add gl_LightModel built-in uniform.
authorAras Pranckevicius <aras@unity3d.com>
Wed, 4 Aug 2010 15:11:32 +0000 (17:11 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 4 Aug 2010 21:41:01 +0000 (14:41 -0700)
src/glsl/builtin_variables.h

index 9551e1accf9ca4820bad745ee908a64d0f9bb109..2ec7d621bbf53486bf9efdf54fb4401e6e9032dd 100644 (file)
@@ -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"},
 };