Endloop - vs
Ende einer Schleife... Endloop-Block.
Syntax
Endloop |
---|
Hinweise
Vertex-Shaderversionen | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|---|---|---|---|---|---|
Endloop | x | x | x | x | x |
Diese Anweisung funktioniert wie hier gezeigt.
LoopCounter += LoopStep;
LoopInterationCount = LoopIterationCount - 1;
if (LoopIterationCount > 0)
Continue execution at the StartLoopOffset
Endloop muss der letzten Anweisung einer Schleife folgen – vs . Block.
Beispiel
loop aL, i3
add r1, r0, c2[ aL ]
endloop
Zugehörige Themen