mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
v3d: Print the instruction we're testing in the QPU disasm/pack round-trip.
If we fail initial disassembly, it's good to know what instruction it was that failed.
This commit is contained in:
parent
a1beb333d8
commit
91e24e5718
1 changed files with 3 additions and 2 deletions
|
|
@ -112,9 +112,10 @@ main(int argc, char **argv)
|
|||
for (int i = 0; i < ARRAY_SIZE(tests); i++) {
|
||||
devinfo.ver = tests[i].ver;
|
||||
|
||||
printf("Testing v%d.%d 0x%016llx... ",
|
||||
printf("Testing v%d.%d 0x%016llx (\"%s\")... ",
|
||||
devinfo.ver / 10, devinfo.ver % 10,
|
||||
(long long)tests[i].inst);
|
||||
(long long)tests[i].inst,
|
||||
tests[i].expected);
|
||||
|
||||
const char *disasm_output = v3d_qpu_disasm(&devinfo,
|
||||
tests[i].inst);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue