diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-14 09:19:54 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-14 10:31:09 -0700 |
commit | c4a4f3db5a4c8676798855e131c360cdf0e4a6bc (patch) | |
tree | fbd3db5061816ecc140a8986565fbdf8e86cbacc /src/panfrost/midgard/disassemble.c | |
parent | 5f0f9e1333385bd59a92b3a4dc72c4f9593eca68 (diff) |
pan/midgard: Prefix blobber-db output for grepping
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/disassemble.c')
-rw-r--r-- | src/panfrost/midgard/disassemble.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c index 382b4af7cbf..1092fcf7374 100644 --- a/src/panfrost/midgard/disassemble.c +++ b/src/panfrost/midgard/disassemble.c @@ -1308,7 +1308,7 @@ print_texture_word(uint32_t *word, unsigned tabs) } void -disassemble_midgard(uint8_t *code, size_t size, bool stats, unsigned nr_registers) +disassemble_midgard(uint8_t *code, size_t size, bool stats, unsigned nr_registers, const char *prefix) { uint32_t *words = (uint32_t *) code; unsigned num_words = size / 4; @@ -1400,10 +1400,10 @@ disassemble_midgard(uint8_t *code, size_t size, bool stats, unsigned nr_register (nr_registers <= 8) ? 2 : 1; - printf("%s shader: " + printf("%s" "%u inst, %u bundles, %u quadwords, " "%u registers, %u threads, 0 loops\n", - "FRAGMENT", /* TODO */ + prefix, nr_ins, nr_bundles, nr_quadwords, nr_registers, nr_threads); |