?/TD>
Microsoft DirectX 9.0

label (Pixel Shader)


Mark the next instruction as having a label index.

Syntax

label l#

where # identifies the label number.

For ps_2_x, the label number must be between between 0 and 15.

For ps_2_sw and ps_3_0, the label number must be between between 0 and 2047.

Remarks

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
labelxxxx

This instruction defines a label located at the next shader instruction. The label instruction is allowed to be present directly after a ret instruction (which defines the end of the previous subroutine or main program).

Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.