?/TD>
Microsoft DirectX 9.0

rep (Vertex Shader)


Start a rep...endrep block.

Syntax

rep integerReg

where integerReg is an integer register that specifies the repeat count in the x component. See Constant Integer Register.

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
repxxxxx

Here is how the instruction works.

StartLoopOffset = next instruction offset
    LoopIterationCount   = IntegerRegister.x
    if (LoopIterationCount <= 0)
        Continue execution after the next EndRep instruction


© 2002 Microsoft Corporation. All rights reserved.