spirv/nir: handle memory access qualifiers for SSBO loads/stores
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Oct 2018 08:42:19 +0000 (10:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Oct 2018 06:42:08 +0000 (08:42 +0200)
commit4b74f05f6b635a8359d1e4a59c8d0cd69d1d9e30
treeb83fac90d9630d363e4245b80b598f564576d45d
parent26a10e3844f1e055d45e56e55ee0960cf0f82244
spirv/nir: handle memory access qualifiers for SSBO loads/stores

v2: - change how the access qualifiers are accumulated
v3: - duplicate members in struct_member_decoration_cb()
    - handle access qualifiers on variables
    - remove access qualifiers handling in _vtn_variable_load_store()
    - fix setting access qualifiers on type->array_element

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net
src/compiler/nir/nir_intrinsics.py
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c