aco: remove barrier acquire/release workaround

This existed since ccfe9813fb because NIR
had no atomic loads/stores. This is no longer the case.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36602>
This commit is contained in:
Rhys Perry 2025-07-28 12:04:10 +01:00 committed by Marge Bot
parent 271b135b03
commit f905acfada

View file

@ -2901,9 +2901,9 @@ emit_barrier(isel_context* ctx, nir_intrinsic_instr* instr)
unsigned nir_semantics = nir_intrinsic_memory_semantics(instr);
if (nir_semantics & NIR_MEMORY_ACQUIRE)
semantics |= semantic_acquire | semantic_release;
semantics |= semantic_acquire;
if (nir_semantics & NIR_MEMORY_RELEASE)
semantics |= semantic_acquire | semantic_release;
semantics |= semantic_release;
assert(!(nir_semantics & (NIR_MEMORY_MAKE_AVAILABLE | NIR_MEMORY_MAKE_VISIBLE)));
assert(exec_scope != scope_workgroup || workgroup_scope_allowed);