Mesa (master): pan/bi: Minor styling cleanup in disasm
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Dec 21 22:04:50 UTC 2020
Module: Mesa
Branch: master
Commit: 8db0775f4520e08b3c539f9bd2d1f567639c088c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8db0775f4520e08b3c539f9bd2d1f567639c088c
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Wed Dec 16 15:15:17 2020 -0500
pan/bi: Minor styling cleanup in disasm
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8139>
---
src/panfrost/bifrost/disassemble.c | 5 +++--
1 file 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;
}
More information about the mesa-commit
mailing list