Share via


callnz (頂点シェーダ)

callnz (頂点シェーダ)

0 でない場合に呼び出す。ラベル インデックスでマークされた命令の条件付き呼び出しを実行する。

構文

callnz label, booleanRegister

ここで

注意

頂点シェーダのバージョン 1_1 2_0 2_x 2_sw 3_0 3_sw
callnz x 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.
}

この命令は、1 つの頂点シェーダ命令スロットを使う。

システム要件

最低限のオペレーティング システム Windows 98