如果不是零,则调用 。 对标签索引标记的指令执行条件调用。
语法
| callnz l#, [!]B# |
|---|
其中:
备注
| 顶点着色器版本 | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
|---|---|---|---|---|---|---|
| callnz bool | 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.
}
此指令使用一个顶点着色器指令槽。
相关主题