?/TD> |
Microsoft DirectX 9.0 |
Pixel shader versions | 1_1 | 1_2 | 1_3 | 1_4 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|---|---|---|---|---|---|---|---|---|
endloop | x | x |
This instruction works as shown here.
LoopCounter += LoopStep; LoopInterationCount = LoopIterationCount - 1; if (LoopIterationCount > 0) Continue execution at the StartLoopOffset
The endloop instruction offset must be greater than the loop instruction offset.
The code block defined between the loop and endloop instructions does not consume additional instruction slots beyond those required to define it.