UADD8#
Format: UADD8 dest, source1, source2.
Phase0: UADD8{.SAT} FT0, S0{.NEG}{.ABS}{.E0|.E1|.E2|.E3}, S1{.ABS}{.E0|.E1|.E2|.E3}
Phase1: -
Phase2: -
Description: Unsigned 8-bit add.
FT0 = S0 + S1
Saturate 0..255
Example:
uniform lowp uint a;
uniform lowp uint b;
uniform lowp uint c;
void main()
{
fragColor = vec4(a + b);
}
1 : uadd8 ft0, sh1.e0, i0.e0
mov i0, ft0;