glsl: Have the lexer return LAYOUT_TOK if 420pack is enabled.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Jul 2013 17:39:59 +0000 (10:39 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:23 +0000 (16:57 -0700)
commit7f6a2d6937e837e06d9e22d173d996397ff4cacf
tree9b739577073410b3251f9e62901848691f4a164f
parent56bcde34b2d3451d81878da17cacccf4d9bba5bc
glsl: Have the lexer return LAYOUT_TOK if 420pack is enabled.

GL_ARB_shading_language_420pack also provides layout qualifiers.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/glsl_lexer.ll