From: Aras Pranckevicius Date: Wed, 4 Aug 2010 15:11:32 +0000 (+0200) Subject: glsl2: add gl_LightModel built-in uniform. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea3a9eb53a3c9ed99998ead645e2b2e6a3261626;p=mesa.git glsl2: add gl_LightModel built-in uniform. --- diff --git a/src/glsl/builtin_variables.h b/src/glsl/builtin_variables.h index 9551e1accf9..2ec7d621bbf 100644 --- a/src/glsl/builtin_variables.h +++ b/src/glsl/builtin_variables.h @@ -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"}, };