nir: Add global invocation id intrinsic.
authorPlamena Manolova <plamena.manolova@intel.com>
Fri, 25 May 2018 21:49:47 +0000 (22:49 +0100)
committerPlamena Manolova <plamena.n.manolova@gmail.com>
Thu, 7 Jun 2018 13:53:12 +0000 (14:53 +0100)
commit3ba16d640e8ae1b3f34dcb1254f169fb1ccb1dba
tree24f1609cf8c8330340774291f535401d007722d8
parent61edad216ea113b1bb9f97c696af1e4a40fbb9ac
nir: Add global invocation id intrinsic.

Add the missing nir intrinsic for the gl_GlobalInvocationID
compute shader variable.

Signed-off-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/compiler/nir/nir.c
src/compiler/nir/nir_intrinsics.py