callnz bool - vs

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

Syntax

callnz l#, [!]b#

 

where:

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
callnz boolxxxxx

 

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.
}


This instruction consumes one vertex shader instruction slot.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft