fix: incorrect abs instruction
This commit is contained in:
parent
aff8fdb2f8
commit
f56117a5c7
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
||||||
Add(Instruction.AtomicOr, InstType.AtomicBinary, "atomic_or_explicit");
|
Add(Instruction.AtomicOr, InstType.AtomicBinary, "atomic_or_explicit");
|
||||||
Add(Instruction.AtomicSwap, InstType.AtomicBinary, "atomic_exchange_explicit");
|
Add(Instruction.AtomicSwap, InstType.AtomicBinary, "atomic_exchange_explicit");
|
||||||
Add(Instruction.AtomicXor, InstType.AtomicBinary, "atomic_xor_explicit");
|
Add(Instruction.AtomicXor, InstType.AtomicBinary, "atomic_xor_explicit");
|
||||||
Add(Instruction.Absolute, InstType.AtomicBinary, "atomic_abs_explicit");
|
Add(Instruction.Absolute, InstType.CallUnary, "abs");
|
||||||
Add(Instruction.Add, InstType.OpBinaryCom, "+", 2);
|
Add(Instruction.Add, InstType.OpBinaryCom, "+", 2);
|
||||||
Add(Instruction.Ballot, InstType.CallUnary, "simd_ballot");
|
Add(Instruction.Ballot, InstType.CallUnary, "simd_ballot");
|
||||||
Add(Instruction.Barrier, InstType.Special);
|
Add(Instruction.Barrier, InstType.Special);
|
||||||
|
|
Loading…
Reference in a new issue