callnz bool - ps
Microsoft DirectX 9.0 SDK Update (October 2004)

callnz bool - ps


Call if not zero. Performs a conditional call to the instruction marked by the label index.

Syntax

callnz l#, [!]b#

Where:

Remarks

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
callnz boolxxxx

This instruction does the following:

if (specified Boolean register is not zero)
{
    Push address of the next instruction to the return address stack
    Continue execution from the instruction marked by the label
}


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