Microsoft DirectX 9.0 |
Start a rep...endrep block.
rep integerReg |
---|
where integerReg is an integer register that specifies the repeat count in the x component. See Constant Integer Register.
Vertex shader versions | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|---|---|---|---|---|---|
rep | x | x | x | x | x |
Here is how the instruction works.
StartLoopOffset = next instruction offset LoopIterationCount = IntegerRegister.x if (LoopIterationCount <= 0) Continue execution after the next EndRep instruction