?/TD>
Microsoft DirectX 9.0

callnz pred (Pixel Shader)


Call if not zero, with a predicate. Performs a conditional call to the instruction marked by the label index. Predication uses a boolean value to determine whether of not to perform the instruction.

Syntax

callnz label, [!] p0.replicateSwizzle

where:

Remarks

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
callnz predxxxx

This instruction does the following:

if (specified register component is not zero)
{
    Push address of the next instruction to the return address stack.
    Continue execution from the instruction marked by the label.
}
Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.