Graphics Reference
In-Depth Information
Table 6.10. Synchronization intrinsics.
6.7.6 Atomic Functions
These intrinsics, listed in Table 6.11, perform a guaranteed atomic operation on a local
variable, a shared memory variable, or a resource variable. They can only be used on int
or uint variables, and only in a pixel or compute shader. Most atomic intrinsics can op-
tionally return the original value of the variable, at the expense of additional runtime cost.
Table 6.1 1 . Atomic intrinsics.
Search WWH ::




Custom Search