Loop counter register (HLSL PS reference)
The only register in this bank is the current loop counter (aL) register. It automatically gets incremented in each execution of the loop - ps/endloop - ps block. So it can be used in the block for relative addressing if needed and is invalid to use it outside the loop.
Pixel shader versions | 1_1 | 1_2 | 1_3 | 1_4 | 2_0 | 2_sw | 2_x | 3_0 | 3_sw |
---|---|---|---|---|---|---|---|---|---|
Loop Counter Register | x | x |
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for