aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/glsl_lexer.ll
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-04-17 08:15:58 +0200
committermarha <marha@users.sourceforge.net>2012-04-17 08:15:58 +0200
commitc1194ccd395fdbb23c9ab56bc340ee20a5feeb82 (patch)
treebd62f97d832e6d17fab91db957c79bd38e6900bf /mesalib/src/glsl/glsl_lexer.ll
parentd6d3999ccb2cb72d55820770260172eccbbb68d7 (diff)
downloadvcxsrv-c1194ccd395fdbb23c9ab56bc340ee20a5feeb82.tar.gz
vcxsrv-c1194ccd395fdbb23c9ab56bc340ee20a5feeb82.tar.bz2
vcxsrv-c1194ccd395fdbb23c9ab56bc340ee20a5feeb82.zip
fontconfig mesa git update 17 Apr 2012
Diffstat (limited to 'mesalib/src/glsl/glsl_lexer.ll')
-rw-r--r--mesalib/src/glsl/glsl_lexer.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/src/glsl/glsl_lexer.ll b/mesalib/src/glsl/glsl_lexer.ll
index 936a90726..2028d7f47 100644
--- a/mesalib/src/glsl/glsl_lexer.ll
+++ b/mesalib/src/glsl/glsl_lexer.ll
@@ -470,6 +470,12 @@ iimageBuffer KEYWORD(130, 999, IIMAGEBUFFER);
uimageBuffer KEYWORD(130, 999, UIMAGEBUFFER);
row_major KEYWORD(130, 999, ROW_MAJOR);
+ /* Additional reserved words in GLSL 1.40 */
+isampler2DRect KEYWORD(140, 140, ISAMPLER2DRECT);
+usampler2DRect KEYWORD(140, 140, USAMPLER2DRECT);
+isamplerBuffer KEYWORD(140, 140, ISAMPLERBUFFER);
+usamplerBuffer KEYWORD(140, 140, USAMPLERBUFFER);
+
[_a-zA-Z][_a-zA-Z0-9]* {
struct _mesa_glsl_parse_state *state = yyextra;
void *ctx = state;