summaryrefslogtreecommitdiffstats
path: root/src/glsl/main.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-07-16 15:51:50 -0700
committerIan Romanick <[email protected]>2010-07-19 14:50:43 -0700
commit25f51d3b9b8c36c41cd23d2797b6a06f6e27ff86 (patch)
treeb2af2b9e217ba74b212d28a8edc94c9979990a08 /src/glsl/main.cpp
parentb64e979971e764ec1df8800d31c755298e618ba0 (diff)
linker: Track and validate GLSL versions used in shaders
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r--src/glsl/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp
index 8b0bccdcb71..e27d9c1d855 100644
--- a/src/glsl/main.cpp
+++ b/src/glsl/main.cpp
@@ -207,6 +207,7 @@ compile_shader(struct gl_shader *shader)
shader->symbols = state->symbols;
shader->CompileStatus = !state->error;
+ shader->Version = state->language_version;
if (shader->InfoLog)
talloc_free(shader->InfoLog);