mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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:
parent
271b135b03
commit
f905acfada
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue