Front-end atomics: Finish adding atomic built-in functions (non-image) into the AST.

This commit is contained in:
John Kessenich 2015-07-22 19:58:15 -06:00
parent d1a6846ba2
commit 917ec4ac8c
5 changed files with 55 additions and 25 deletions

View file

@ -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,