summaryrefslogtreecommitdiff
path: root/builtin_variables.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin_variables.h')
-rw-r--r--builtin_variables.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/builtin_variables.h b/builtin_variables.h
index a742a1562d..902ff22e8a 100644
--- a/builtin_variables.h
+++ b/builtin_variables.h
@@ -70,3 +70,21 @@ static const builtin_variable builtin_110_deprecated_vs_variables[] = {
static const builtin_variable builtin_130_vs_variables[] = {
{ ir_var_in, "int", "gl_VertexID" },
};
+
+static const builtin_variable builtin_110_deprecated_uniforms[] = {
+ { ir_var_uniform, "mat4", "gl_ModelViewMatrix" },
+ { ir_var_uniform, "mat4", "gl_ProjectionMatrix" },
+ { ir_var_uniform, "mat4", "gl_ModelViewProjectionMatrix" },
+ { ir_var_uniform, "mat3", "gl_NormalMatrix" },
+ { ir_var_uniform, "mat4", "gl_ModelViewMatrixInverse" },
+ { ir_var_uniform, "mat4", "gl_ProjectionMatrixInverse" },
+ { ir_var_uniform, "mat4", "gl_ModelViewProjectionMatrixInverse" },
+ { ir_var_uniform, "mat4", "gl_ModelViewMatrixTranspose" },
+ { ir_var_uniform, "mat4", "gl_ProjectionMatrixTranspose" },
+ { ir_var_uniform, "mat4", "gl_ModelViewProjectionMatrixTranspose" },
+ { ir_var_uniform, "mat4", "gl_ModelViewMatrixInverseTranspose" },
+ { ir_var_uniform, "mat4", "gl_ProjectionMatrixInverseTranspose" },
+ { ir_var_uniform, "mat4", "gl_ModelViewProjectionMatrixInverseTranspose" },
+ { ir_var_uniform, "float", "gl_NormalScale" },
+};
+