label - vs
Microsoft DirectX 9.0 SDK Update (October 2004)

label - vs


Mark the next instruction as having a label index.

Syntax

label l#

where # identifies the label number.

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

For vs_2_sw, vs_3_0 and vs_3_sw, the label number must be between between 0 and 2047.

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
labelxxxxx

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



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.