i965: Add uniform for a CS thread local base ID
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 29 May 2016 06:45:21 +0000 (23:45 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 2 Jun 2016 02:29:02 +0000 (19:29 -0700)
commitfa279dfbf0fc89b07007141ad8850ac42206e397
treed6a6f5eabe953a6b7caf95d3b4c42d41a153ba0c
parent8f48d23e0fcc0809f6397a67c26751a45a95e076
i965: Add uniform for a CS thread local base ID

v4:
 * Force thread_local_id_index to -1 for now, and have
   fs_visitor::setup_cs_payload look at thread_local_id_index. This
   enables us to more easily cut over from the old local ID layout to
   the new layout, as suggested by Jason.

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_pipeline.c
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_fs.cpp