glsl: parse invocations layout qualifier for ARB_gpu_shader5
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 3 Feb 2014 01:55:36 +0000 (17:55 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 20 Feb 2014 18:33:08 +0000 (10:33 -0800)
commit02dc74fbd72d82a21506a5984a92e5db08fcfc5c
tree2a8ea357a78c1c0b2293558390475462f926cb98
parent738c9c3c543b985b025a4a60fcc9c2e212e2d821
glsl: parse invocations layout qualifier for ARB_gpu_shader5

_mesa_glsl_parse_state in_qualifier->invocations will store the
invocations count.

v3:
 * Use in_qualifier to allow the primitive to be specied
   separately from the invocations count (merge_qualifiers)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/glsl/ast.h
src/glsl/ast_type.cpp
src/glsl/glsl_parser.yy