Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4025>
unsigned src0 : 3;
unsigned src1 : 3;
unsigned src2 : 3;
- unsigned half : 3; /* 000 for i32, 111 for v2i16 */
+ unsigned half : 3; /* 000 for i32, 100 for i8, 111 for v2i16 */
unsigned unk : 1; /* always set? */
unsigned invert_1 : 1; /* Inverts sources to combining op */
/* For XOR, switches RSHIFT to LSHIFT since only one invert needed */
fprintf(fp, ".v2i16");
else if (shift.half == 0)
fprintf(fp, ".i32");
+ else if (shift.half == 0x4)
+ fprintf(fp, ".v4i8");
else
fprintf(fp, ".unk%u", shift.half);