Share via


callnz bool - vs

Appelez si ce n’est pas zéro. Effectue un appel conditionnel à l’instruction marquée par l’index d’étiquette.

Syntaxe

callnz l#, [!] B #

 

où :

Notes

Versions du nuanceur de vertex 1_1 2_0 2_x 2_sw 3_0 3_sw
callnz bool x x x x x

 

Cette instruction effectue les opérations suivantes :

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

Cette instruction utilise un emplacement d’instruction de nuanceur de vertex.

Instructions du nuanceur de vertex