Export (0) Print
Expand All

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 - vs block.

Example



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


 

 

Community Additions

ADD
Show:
© 2014 Microsoft