intel/compiler: Add and use helpers for working with KSP indices
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 18 May 2018 06:17:17 +0000 (23:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commit9d78abbef80ae79c9f81056d19eaee9a4e81aeb3
treec4c7e0e7d4f0bb1f3722648c588bcdae1aeb65fc
parent85750348bcd9da55c252126845445a210a79a8f9
intel/compiler: Add and use helpers for working with KSP indices

The pixel shader dispatch table is kind-of a confusing mess.  This adds
some helpers for dealing with it and for easily extracting the correct
data from wm_prog_data.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/blorp/blorp_genX_exec.h
src/intel/compiler/brw_compiler.h
src/intel/vulkan/genX_pipeline.c
src/mesa/drivers/dri/i965/gen4_blorp_exec.h
src/mesa/drivers/dri/i965/genX_state_upload.c