summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-03-08 13:38:31 -0800
committerEric Anholt <[email protected]>2012-03-15 08:33:54 -0700
commitac5a5b324335195b5a5ed98775ce442c573e7e1d (patch)
tree89c8b32d58e110c150b2988316c238d0c5dac2b1 /src/mesa
parent99cd475cc9d3bd54140f84c24b55b9e05d7310a1 (diff)
glsl: Add support for parsing #version 140.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/getstring.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index 90e0280552e..2f445aaf97d 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -53,6 +53,8 @@ shading_language_version(struct gl_context *ctx)
return (const GLubyte *) "1.20";
case 130:
return (const GLubyte *) "1.30";
+ case 140:
+ return (const GLubyte *) "1.40";
default:
_mesa_problem(ctx,
"Invalid GLSL version in shading_language_version()");