spirv: fix Uniform and Output MemoryAccessMakePointer{Visible,Available}
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 27 Jul 2020 13:48:12 +0000 (14:48 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 17:15:22 +0000 (17:15 +0000)
commit5b92392c483c8f15599ed48abc824e606e859b02
tree8423f6494431d6159d7377be2a8857917438f8dc
parent857b9c50276141c874c0dba2475afe73ce62a013
spirv: fix Uniform and Output MemoryAccessMakePointer{Visible,Available}

The Uniform storage class can be used for SSBOs. This should also fix make
available/visible for the Output storage class.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6090>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c