Share via


callnz bool - ps

如果不是零,則呼叫 。 對標籤索引所標示的指令執行條件式呼叫。

Syntax

callnz l#, [!]B#

 

其中:

備註

圖元著色器版本 1_1 1_2 1_3 1_4 2_0 2_x 2_sw 3_0 3_sw
callnz bool x x x x

 

此指示會執行下列動作:

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
}

圖元著色器指示