SPV OpAtomicCompareSwap: Generate correct operand order and number of operands.
This commit is contained in:
parent
7355eebb18
commit
3e60a6ff13
3 changed files with 11 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue