GlobalOrderedCountIncrement function
Returns a per-lane globally ordered count.
Syntax
uint GlobalOrderedCountIncrement(
uint countToAppendForThisLane
);
Parameters
- countToAppendForThisLane
The amount to increment the global count by, and can vary per-lane.
Return value
This is a global append counter (where the driver implementation handles atomic increment per wave).
Remarks
This function is supported from shader model 6.0, in the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x |