i965: Remove old CS local ID handling
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 23 May 2016 05:31:06 +0000 (22:31 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 2 Jun 2016 02:29:02 +0000 (19:29 -0700)
commit0a3acff5b53d409181dcd2f31a4a50af06f73a57
tree30cf2c701698d352b24d7958f08278f6d3809ba7
parentb1f22c6317940dac543e44dd638ea9f4fbcd6ca7
i965: Remove old CS local ID handling

The old method pushed data for each channels uvec3 data of
gl_LocalInvocationID.

The new method pushes 1 dword of data that is a 'thread local ID'
value. Based on that value, we can generate gl_LocalInvocationIndex
and gl_LocalInvocationID with some calculations.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_cmd_buffer.c
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_nir_intrinsics.c
src/mesa/drivers/dri/i965/gen7_cs_state.c