glsl: Hook up the current GLSL 1.30 types and builtins for 1.40.
This gets a basic #version 140 shader compiling.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp
index 66b3abd..26deeeb 100644
--- a/src/glsl/builtin_variables.cpp
+++ b/src/glsl/builtin_variables.cpp
@@ -759,6 +759,9 @@
case 130:
generate_130_vs_variables(instructions, state);
break;
+ case 140:
+ generate_130_vs_variables(instructions, state);
+ break;
}
if (state->ARB_draw_instanced_enable)
@@ -985,6 +988,9 @@
case 130:
generate_130_fs_variables(instructions, state);
break;
+ case 140:
+ generate_130_fs_variables(instructions, state);
+ break;
}
if (state->ARB_shader_stencil_export_enable)