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.
Gets the lane index.
Syntax
UINT32 GetLaneIndex();
Parameters
This method has no parameters.
Returns
The lane index, or PIX_SHADER_LANE_INDEX_NONE for a wave-scoped value.
Remarks
A variable scoped to the whole wave rather than to one lane yields a single value that no lane owns, and reports PIX_SHADER_LANE_INDEX_NONE here. Check for that before treating the result as a real index, since a wave-scoped value is otherwise indistinguishable from one belonging to lane 0.