From 0c9fef6111162498035e05241e492fe1bb0df6a4 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 8 Oct 2010 12:03:40 -0700 Subject: glsl: Add lexer rules for uint and uvecN (N=2..4) Commit for generated file glsl_lexer.cpp follows this commit. Reviewed-by: Ian Romanick --- src/glsl/glsl_lexer.lpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/glsl') diff --git a/src/glsl/glsl_lexer.lpp b/src/glsl/glsl_lexer.lpp index 8be5c67fc2b..9672342e8e6 100644 --- a/src/glsl/glsl_lexer.lpp +++ b/src/glsl/glsl_lexer.lpp @@ -161,6 +161,7 @@ const return CONST_TOK; bool return BOOL_TOK; float return FLOAT_TOK; int return INT_TOK; +uint TOKEN_OR_IDENTIFIER(130, UINT_TOK); break return BREAK; continue return CONTINUE; @@ -178,6 +179,9 @@ bvec4 return BVEC4; ivec2 return IVEC2; ivec3 return IVEC3; ivec4 return IVEC4; +uvec2 TOKEN_OR_IDENTIFIER(130, UVEC2); +uvec3 TOKEN_OR_IDENTIFIER(130, UVEC3); +uvec4 TOKEN_OR_IDENTIFIER(130, UVEC4); vec2 return VEC2; vec3 return VEC3; vec4 return VEC4; -- cgit v1.2.3