IADD16

Format: IADD16 dest, source1, source2.

Phase0: IADD16{.SAT} FT0, S0{.NEG}{.ABS}{.E0|.E1}, S1{.ABS}{.E0|.E1}

Phase1: -

Phase2: -

Description: Signed (integer) 16-bit add.

FT0 = S0 + S1

Saturate -32768..32767

Table 1. Example:
uniform mediump int a;
uniform mediump int b;
uniform mediump int c;

void main()
{
	fragColor = vec4(a + b);
}
1    : iadd16 ft0, sh1.e0, i0.e0
       mov i0, ft0;