SPV OpAtomicCompareSwap: Generate correct operand order and number of operands.
This commit is contained in:
@@ -120,7 +120,7 @@ TBD functionality: Is atomic_uint an opaque handle in the uniform storage class,
|
||||
Store 38(origi) 64
|
||||
65: 6(int) Load 46(atomu)
|
||||
67: 6(int) Load 48(value)
|
||||
68: 6(int) AtomicCompareExchange 65 15 16 66 67
|
||||
68: 6(int) AtomicCompareExchange 65 15 16 16 67 66
|
||||
Store 44(origu) 68
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user