Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call if not zero. Performs a conditional call to the instruction marked by the label index.
Syntax
callnz l#, [!]b# |
---|
where:
- where l# is a label - vs marking the beginning of the subroutine to be called.
- [!] is the optional boolean NOT modifier.
- b# identifies a Constant Boolean Register.
Remarks
Vertex shader versions | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|---|---|---|---|---|---|
callnz bool | x | x | x | x | x |
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.
Related topics