callnz bool - ps

Hubungi jika bukan nol. Melakukan panggilan bersyarah ke instruksi yang ditandai oleh indeks label.

Sintaks

callnz l#, [!] B #

 

Di mana:

Keterangan

Versi shader piksel 1_1 1_2 1_3 1_4 2_0 2_x 2_sw 3_0 3_sw
bool callnz x x x x

 

Instruksi ini melakukan hal berikut:

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
}

Instruksi Piksel Shader