atomicOr
Function
Stores the bitwise OR of the atomic location and value as one indivisible step and returns the value it held before.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function atomicOr<T extends u32 | i32>(location: atomic<T>, value: T): TParameters
-
locationatomic<T> -
valueT
Return value
T
Description
Compiles to atomicOr(&bins[i], v) on WGSL only.
Targets
- WGSL
-
atomicOr(&a, b) - GLSL ES 3.00
- atomicOr has no GLSL ES 3.00 spelling (no storage buffers, no atomics)