endloop – vs
Ende einer Schleife... endloop-Block.
Syntax
| endloop |
|---|
Bemerkungen
| 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