i965/nir/vec4: Add setup for system values
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 16 Jun 2015 15:08:04 +0000 (17:08 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:47 +0000 (09:40 -0700)
commit4023b55fdd7005a8a100637c229a1c40648cdd2b
tree19d936b3361ca867d09cef2acabf2695da7dfcff
parent01c5617c8edc2f392363e9f8861d62a9fc9aa973
i965/nir/vec4: Add setup for system values

Similar to other variable setups, system values will initialize the
corresponding register inside a 'nir_system_values' map, which will then
be queried later when processing the different system value intrinsics
for the appropriate register.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp