?/TD>
Microsoft DirectX 9.0

rep (Pixel 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

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
repxxxx

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.