We already do that for scalar instructions, so let's do it for
vector instructions with a single component too.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14885>
comp_mask = effective_writemask(alu->op, condense_writemask(alu->mask, bits));
num_comp = util_bitcount(comp_mask);
- fprintf(fp, "<");
+ if (num_comp > 1)
+ fprintf(fp, "<");
+ else
+ fprintf(fp, "#");
+
bool first = true;
for (unsigned i = 0; i < max_comp; ++i) {