Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the index of the current lane within the current wave.
Syntax
uint WaveGetLaneIndex(void);
Parameters
This function has no parameters.
Return value
The index of the current lane. The result is greater than or equal to zero and less than the value returned by WaveGetLaneCount.
Remarks
This function is supported from shader model 6.0 in all shader stages.
See also