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