UNPCK#
Format: UNPCK.format dest, source.
Phase0: UNPCK.format{.SCALE}{.ROUNDZERO} FT0, S0{.E0|.E1|.E2|.E3}
Phase1: -
Phase2: -
Description: Unpack by data format.
Similarly UPCK with a REPEAT of n produce results in n sequential register locations.
FT0 = unpack(S0)
Data formats supported: U8888
, S8888
, S8888OGL
, O8888
, U1616
, S1616
, S1616OGL
, O1616
, F16F16
, U32
, S32
, F32
, F32MASK
, U1010102
, S1010102
, 2F102F10F10
, U111110
, S111110
, F111110
, SE9995
, U565U565
, S8D24
, D24S8
Example:
void main()
{
fragColor = vec4(float(i));
}
0 : unpck.s1616 ft0, sh0.e0
mov r0.e0.e1.e2.e3, ft0
mov r1, ft0;