summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-12-10 16:20:36 -0800
committerEric Anholt <eric@anholt.net>2014-12-17 19:05:52 -0800
commit8d22e8907fde509ad33c5699cd14cd1bebc3601d (patch)
treebcdfeb021bd68d97f649fd2c99fe6d64a1f32829 /src/gallium
parent18ebf9e251cac6a0f898f4b7e159382f3c96b2b7 (diff)
vc4: Fix missing newline for load immediate instruction disasm.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu_disasm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_disasm.c b/src/gallium/drivers/vc4/vc4_qpu_disasm.c
index 2511fcfc937..b87205a011e 100644
--- a/src/gallium/drivers/vc4/vc4_qpu_disasm.c
+++ b/src/gallium/drivers/vc4/vc4_qpu_disasm.c
@@ -390,7 +390,7 @@ vc4_qpu_disasm(const uint64_t *instructions, int num_instructions)
switch (sig) {
case QPU_SIG_BRANCH:
- fprintf(stderr, "branch\n");
+ fprintf(stderr, "branch");
break;
case QPU_SIG_LOAD_IMM:
print_load_imm(inst);
@@ -401,10 +401,10 @@ vc4_qpu_disasm(const uint64_t *instructions, int num_instructions)
print_add_op(inst);
fprintf(stderr, " ; ");
print_mul_op(inst);
-
- if (num_instructions != 1)
- fprintf(stderr, "\n");
break;
}
+
+ if (num_instructions != 1)
+ fprintf(stderr, "\n");
}
}