Edit

Share via


Loop Counter Register (HLSL VS reference)

The only register in this bank is the current loop counter (aL) register. It automatically gets incremented in each execution of the loop - vs...endloop - vs block. So it can be used in the block for relative addressing if needed and is invalid to use it outside the loop.

Vertex Shader Registers