glsl: add gl_InvocationID variable for ARB_gpu_shader5
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 25 Jan 2014 20:43:26 +0000 (12:43 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 20 Feb 2014 18:33:09 +0000 (10:33 -0800)
commitd09901993539385c015c6389310c186cba9bb263
tree45a4aa16092d320467c4e3bcbe216cad9663b6fd
parent22388e2208a9a321240ec505f513fa5de5af8946
glsl: add gl_InvocationID variable for ARB_gpu_shader5

v2:
 * Make gl_InvocationID a system value

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/builtin_variables.cpp
src/mesa/main/mtypes.h