callnz (頂点シェーダ)
callnz (頂点シェーダ)
0 でない場合に呼び出す。ラベル インデックスでマークされた命令の条件付き呼び出しを実行する。
構文
callnz label, booleanRegister |
---|
ここで
- label はラベルを表す。ラベルは 0 ~ 16 の整数である。「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 |