callnz bool - ps

Вызовите , если не нуль. Выполняет условный вызов инструкции, помеченной индексом метки.

Синтаксис

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
}

Инструкции по шейдеру пикселей