intel/cs: Make thread_local_id a regular builtin param
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 29 Sep 2017 19:22:48 +0000 (12:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 05:39:31 +0000 (22:39 -0700)
commit79d403417cacd2728916e32ae55f4fc2a018515c
treefab0fd92ab5a0192d2f883d12af00c6258fddf6e
parent8d90e2883954eb7022cf8fc98be3773cc5513e7b
intel/cs: Make thread_local_id a regular builtin param

This is a lot more natural than special casing it all over the place.
We still have to do a bit of special-casing in assign_constant_locations
but it's not special-cased quite as bad as it was before.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_nir_lower_cs_intrinsics.c
src/intel/vulkan/anv_cmd_buffer.c
src/mesa/drivers/dri/i965/gen6_constant_state.c