summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>2020-12-16 15:15:17 -0500
committerMarge Bot <eric+marge@anholt.net>2020-12-21 21:54:50 +0000
commit8db0775f4520e08b3c539f9bd2d1f567639c088c (patch)
tree35292b4af181c96257e700436a752678835a2312
parent15558873f49574d1df602572eb4687a7866146f1 (diff)
pan/bi: Minor styling cleanup in disasm
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8139>
-rw-r--r--src/panfrost/bifrost/disassemble.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/panfrost/bifrost/disassemble.c b/src/panfrost/bifrost/disassemble.c
index 872b7771219..f4c940c2da6 100644
--- a/src/panfrost/bifrost/disassemble.c
+++ b/src/panfrost/bifrost/disassemble.c
@@ -698,9 +698,10 @@ void disassemble_bifrost(FILE *fp, uint8_t *code, size_t size, bool verbose)
while (words != words_end) {
fprintf(fp, "clause_%d:\n", offset);
unsigned size;
- if (dump_clause(fp, words, &size, offset, verbose) == true) {
+
+ if (dump_clause(fp, words, &size, offset, verbose))
break;
- }
+
words += size * 4;
offset += size;
}