endloop - vs
Microsoft DirectX 9.0 SDK Update (October 2004)

endloop - vs


End of a loop...endloop block.

Syntax

endloop

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
endloopxxxxx

This instruction works as shown here.

LoopCounter += LoopStep;
LoopInterationCount = LoopIterationCount - 1;
if (LoopIterationCount > 0)
    Continue execution at the StartLoopOffset

endloop must follow the last instruction of a loop block.

Example

loop aL, i3
    add r1, r0, c2[ aL ]
endloop


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.