Re: [Mesa-dev] [PATCH] glsl: Allow layout qualifiers in GLSL 3.00 ES

2012-11-16 Thread Kenneth Graunke
On 11/16/2012 02:53 PM, Ian Romanick wrote: From: Ian Romanick Note that while 'packed' is a reserved word in GLSL ES, row_major is not. This means that we have to use the string-based matching for that. Signed-off-by: Ian Romanick --- src/glsl/glsl_lexer.ll | 2 +- src/glsl/glsl_

[Mesa-dev] [PATCH] glsl: Allow layout qualifiers in GLSL 3.00 ES

2012-11-16 Thread Ian Romanick
From: Ian Romanick Note that while 'packed' is a reserved word in GLSL ES, row_major is not. This means that we have to use the string-based matching for that. Signed-off-by: Ian Romanick --- src/glsl/glsl_lexer.ll | 2 +- src/glsl/glsl_parser.yy | 2 ++ src/glsl/glsl_parser_e