glsl/linker: produce gl_shader_program Geom.Invocations
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 25 Jan 2014 10:17:21 +0000 (02:17 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 20 Feb 2014 18:33:08 +0000 (10:33 -0800)
commit313402048fdad05d3401340129b9e412878d8957
tree88cf5b3d86665917902e0547a6a306d05954a54c
parent02dc74fbd72d82a21506a5984a92e5db08fcfc5c
glsl/linker: produce gl_shader_program Geom.Invocations

Grab the parsed invocation count, check for consistency
during linking, and finally save the result in
gl_shader_program Geom.Invocations.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/glsl/glsl_parser_extras.cpp
src/glsl/linker.cpp
src/mesa/main/mtypes.h