pan/mdg: Print 8-bit constants
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5265>
This commit is contained in:
parent
0ff0291896
commit
49840a8a58
|
@ -221,7 +221,13 @@ mir_print_constant_component(FILE *fp, const midgard_constants *consts, unsigned
|
|||
break;
|
||||
|
||||
case midgard_reg_mode_8:
|
||||
unreachable("XXX TODO: sort out how 8-bit constant encoding works");
|
||||
fprintf(fp, "0x%X", consts->u8[c]);
|
||||
|
||||
if (mod)
|
||||
fprintf(fp, " /* %u */", mod);
|
||||
|
||||
assert(!half); /* No 4-bit */
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue