SPIR-V Built-In
WarpIDARM
Warp ID within a core of a shader invocation
WarpIDARM
Decorating a variable with the WarpIDARM built-in decoration will make
that variable contain the ID of the warp on a core on which the current
shader invocation is running.
This variable is in the range [0, WarpMaxIDARM].
Valid Usage
VUID-WarpIDARM-WarpIDARM-07603
The variable decorated with WarpIDARM must be declared using the
Input Storage Class
VUID-WarpIDARM-WarpIDARM-07604
The variable decorated with WarpIDARM must be declared as a scalar
32-bit integer value