pan/midg: Prefix scalar immediates with '#' instead of '<'
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>
This commit is contained in:
parent
36bb1ac453
commit
65209b1adb
|
@ -563,7 +563,11 @@ print_vector_constants(FILE *fp, unsigned src_binary,
|
|||
comp_mask = effective_writemask(alu->op, condense_writemask(alu->mask, bits));
|
||||
num_comp = util_bitcount(comp_mask);
|
||||
|
||||
if (num_comp > 1)
|
||||
fprintf(fp, "<");
|
||||
else
|
||||
fprintf(fp, "#");
|
||||
|
||||
bool first = true;
|
||||
|
||||
for (unsigned i = 0; i < max_comp; ++i) {
|
||||
|
|
Loading…
Reference in New Issue