Browse Source

[maxwell] U32/S32 uses v.X

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
pull/2907/head
Caio Oliveira 1 month ago
committed by crueter
parent
commit
65bb27a61d
  1. 1
      src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp

1
src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp

@ -166,6 +166,7 @@ IR::Value ApplyAtomOp(TranslatorVisitor& v, IR::Reg operand_reg, const IR::U64&
switch (size) { switch (size) {
case AtomSize::U32: case AtomSize::U32:
case AtomSize::S32: case AtomSize::S32:
return ApplyIntegerAtomOp(v.ir, offset, v.X(operand_reg), op, size);
case AtomSize::U64: case AtomSize::U64:
case AtomSize::S64: case AtomSize::S64:
return ApplyIntegerAtomOp(v.ir, offset, v.L(operand_reg), op, size); return ApplyIntegerAtomOp(v.ir, offset, v.L(operand_reg), op, size);

Loading…
Cancel
Save