TSTZ#
Format: TSTZ dest, destPredWrite, source.
Phase0: -
Phase1: -
Phase2: TSTZ{.type} FTT, (P0|_), IS1{.F16}{.E0|.E1|.E2|.E3}
Description: Test zero.
Example:
uniform highp int a;
uniform highp int b;
uniform highp int c;
void main()
{
highp int res;
if( a == 0 )
{
res = b;
}
else
{
res = c;
}
fragColor = vec4(res);
}
0 : mov ft0, sh1
mov ft1, sh2
tstz.s32 ftt, _, sh0
mov i0.e0.e1.e2.e3, ft1, ftt, ft0, ft1