From: Eric Anholt Date: Thu, 11 Dec 2014 00:20:36 +0000 (-0800) Subject: vc4: Fix missing newline for load immediate instruction disasm. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d22e8907fde509ad33c5699cd14cd1bebc3601d;p=mesa.git vc4: Fix missing newline for load immediate instruction disasm. --- 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"); } }