summaryrefslogtreecommitdiffstats
path: root/src/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-02-03 15:12:24 -0500
committerAlyssa Rosenzweig <[email protected]>2020-02-16 09:16:46 -0500
commitfbe1fd3de0aa7c618286ee79082f7bbcd7b8e171 (patch)
treed7379d0ae60fd7bf2bb19a61a50f858f30f8b8e9 /src/panfrost
parent521406a069e0f918d57fc29bba85423faf316141 (diff)
pan/midgard: Fix missing prefixes
I was wondering where those were going... :) Signed-off-by: Alyssa Rosenzweig <[email protected]> Fixes: c1952779d68 ("pan/decode: Dump to a file") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3835>
Diffstat (limited to 'src/panfrost')
-rw-r--r--src/panfrost/midgard/disassemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c
index a0640d66e8c..8f116aa5a45 100644
--- a/src/panfrost/midgard/disassemble.c
+++ b/src/panfrost/midgard/disassemble.c
@@ -157,7 +157,7 @@ print_reg(FILE *fp, unsigned reg, unsigned bits)
char prefix = prefix_for_bits(bits);
if (prefix)
- putchar(prefix);
+ fputc(prefix, fp);
fprintf(fp, "r%u", reg);
}