Mesa (master): aco: fix 64-bit shared_atomic_exchange
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu May 28 10:52:05 UTC 2020
Module: Mesa
Branch: master
Commit: 01ce7887bf0d6ec4619e1851002d4774aaa28a90
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=01ce7887bf0d6ec4619e1851002d4774aaa28a90
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Mon May 4 14:11:00 2020 +0100
aco: fix 64-bit shared_atomic_exchange
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4880>
---
src/amd/compiler/aco_instruction_selection.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp
index 9f97e1fc647..55fc1a59d4f 100644
--- a/src/amd/compiler/aco_instruction_selection.cpp
+++ b/src/amd/compiler/aco_instruction_selection.cpp
@@ -6690,7 +6690,7 @@ void visit_shared_atomic(isel_context *ctx, nir_intrinsic_instr *instr)
op32 = aco_opcode::ds_write_b32;
op64 = aco_opcode::ds_write_b64;
op32_rtn = aco_opcode::ds_wrxchg_rtn_b32;
- op64_rtn = aco_opcode::ds_wrxchg2_rtn_b64;
+ op64_rtn = aco_opcode::ds_wrxchg_rtn_b64;
break;
case nir_intrinsic_shared_atomic_comp_swap:
op32 = aco_opcode::ds_cmpst_b32;
More information about the mesa-commit
mailing list