From 4a2ad8500d40038661a99c81e88d4660ca98c032 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 27 Apr 2016 16:10:59 -0700 Subject: [PATCH] vc4: Add whitespace after each program stage dump. In particular it's been hard to find the point where we switch from dumping pre-optimization QIR and post-optimization QIR. --- src/gallium/drivers/vc4/vc4_program.c | 2 ++ src/gallium/drivers/vc4/vc4_qpu_emit.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index a1646d7369e..4cee99f1577 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -1943,6 +1943,7 @@ vc4_shader_ntq(struct vc4_context *vc4, enum qstage stage, qir_get_stage_name(c->stage), c->program_id, c->variant_id); qir_dump(c); + fprintf(stderr, "\n"); } qir_optimize(c); @@ -1955,6 +1956,7 @@ vc4_shader_ntq(struct vc4_context *vc4, enum qstage stage, qir_get_stage_name(c->stage), c->program_id, c->variant_id); qir_dump(c); + fprintf(stderr, "\n"); } qir_reorder_uniforms(c); diff --git a/src/gallium/drivers/vc4/vc4_qpu_emit.c b/src/gallium/drivers/vc4/vc4_qpu_emit.c index ae3590854b2..11640faa633 100644 --- a/src/gallium/drivers/vc4/vc4_qpu_emit.c +++ b/src/gallium/drivers/vc4/vc4_qpu_emit.c @@ -40,6 +40,7 @@ vc4_dump_program(struct vc4_compile *c) vc4_qpu_disasm(&c->qpu_insts[i], 1); fprintf(stderr, "\n"); } + fprintf(stderr, "\n"); } static void -- 2.30.2