nir/lower_explicit_io: add nir_var_mem_shared support
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 9 Apr 2019 16:28:13 +0000 (17:28 +0100)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 8 Aug 2019 17:10:39 +0000 (12:10 -0500)
commit8bd2e138f5db8ab6f82ec7597edb946d84edd3bf
tree4159de089b1f3722776a6485cc7325147a7b031a
parent1e21bb41233c4c4abe95f734f815a7e415ad7e19
nir/lower_explicit_io: add nir_var_mem_shared support

v2: require nir_address_format_32bit_offset instead
v3: don't call nir_intrinsic_set_access() for shared atomics

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_io.c