diff options
author | Eric Anholt <[email protected]> | 2012-03-08 13:38:31 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-03-15 08:33:54 -0700 |
commit | ac5a5b324335195b5a5ed98775ce442c573e7e1d (patch) | |
tree | 89c8b32d58e110c150b2988316c238d0c5dac2b1 /src/glsl/glsl_parser.yy | |
parent | 99cd475cc9d3bd54140f84c24b55b9e05d7310a1 (diff) |
glsl: Add support for parsing #version 140.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser.yy')
-rw-r--r-- | src/glsl/glsl_parser.yy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index d5e85abc021..64506b6358a 100644 --- a/src/glsl/glsl_parser.yy +++ b/src/glsl/glsl_parser.yy @@ -264,6 +264,9 @@ version_statement: case 130: supported = state->Const.GLSL_130; break; + case 140: + supported = state->Const.GLSL_140; + break; default: supported = false; break; |