aco: create acq+rel barriers instead of acq/rel
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 22 Jul 2020 10:47:20 +0000 (11:47 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jul 2020 16:56:34 +0000 (16:56 +0000)
commitccfe9813fb80ebff5d1d3f70cb95f1831be8844e
tree04b659358dc533d013dd44b3aeaac87e120a2c82
parent3d9eb17d5d037d09479f35b8cd919ea158634d48
aco: create acq+rel barriers instead of acq/rel

NIR doesn't have atomic loads/stores, so we have to workaround that with
this for dEQP-VK.memory_model.* to pass.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4905>
src/amd/compiler/aco_instruction_selection.cpp