nir: Add compute shader shared variable storage class
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 9 Jan 2016 01:16:29 +0000 (17:16 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 21 Jan 2016 08:31:29 +0000 (00:31 -0800)
commit10db985fa06177289a9ce8a463d676845f54c141
treee7e98fab8e46187a41d19f017e103dd045ec7f66
parent65a5407931b2be0b4a01de56586ba4694ee8fc13
nir: Add compute shader shared variable storage class

Previously we were receiving shared variable accesses via a lowered
intrinsic function from glsl. This change allows us to send in
variables instead. For example, when converting from SPIR-V.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/nir/nir.c
src/glsl/nir/nir.h
src/glsl/nir/nir_clone.c
src/glsl/nir/nir_lower_atomics.c
src/glsl/nir/nir_print.c
src/glsl/nir/nir_sweep.c
src/glsl/nir/nir_validate.c