spirv: make OpLoad/OpStore visibility/availablity barriers acquire/release
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 27 Jul 2020 13:51:57 +0000 (14:51 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 17:15:22 +0000 (17:15 +0000)
commitb85c38a86f98ed0614afdaf31a8a66c20a7b51fb
treebe76e5b901d05b2ffc27a8a7a4a6fddd9382c0dd
parent5b92392c483c8f15599ed48abc824e606e859b02
spirv: make OpLoad/OpStore visibility/availablity barriers acquire/release

I think these are needed to order the visibility/availability operation
with the access.

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/vtn_variables.c