Front-end atomics: Finish adding atomic built-in functions (non-image) into the AST.
This commit is contained in:
parent
d1a6846ba2
commit
917ec4ac8c
5 changed files with 55 additions and 25 deletions
|
|
@ -234,7 +234,7 @@ enum TOperator {
|
|||
EOpMemoryBarrierShared, // compute only
|
||||
EOpGroupMemoryBarrier, // compute only
|
||||
|
||||
EOpAtomicAdd, // TODO: AST functionality: hook these up
|
||||
EOpAtomicAdd,
|
||||
EOpAtomicMin,
|
||||
EOpAtomicMax,
|
||||
EOpAtomicAnd,
|
||||
|
|
@ -243,6 +243,10 @@ enum TOperator {
|
|||
EOpAtomicExchange,
|
||||
EOpAtomicCompSwap,
|
||||
|
||||
EOpAtomicCounterIncrement,
|
||||
EOpAtomicCounterDecrement,
|
||||
EOpAtomicCounter,
|
||||
|
||||
EOpAny,
|
||||
EOpAll,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue