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

Kenneth Graunke kenneth at whitecape.org
Fri Nov 16 15:21:53 PST 2012


On 11/16/2012 02:53 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> 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 <ian.d.romanick at intel.com>
> ---
>   src/glsl/glsl_lexer.ll          | 2 +-
>   src/glsl/glsl_parser.yy         | 2 ++
>   src/glsl/glsl_parser_extras.cpp | 4 ++++
>   3 files changed, 7 insertions(+), 1 deletion(-)

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list