?/TD>
Microsoft DirectX 9.0

call (Pixel Shader)


Performs a function call to the instruction marked with the provided label index.

Syntax

call label

Where:

Remarks

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
callxxxx

This instruction does the following:

  1. Push address of the next instruction to the return address stack.
  2. Continue execution from the instruction marked by the label.

Only forward calls are allowed. This means that the location of the label inside the pixel shader should be after the call instruction referencing it.

Nested calls are not allowed for ps_2_x or ps_2_sw.

Nested calls are allowed for ps_3_0 and ps_3_sw.

Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.