vc4: Add whitespace after each program stage dump.
authorEric Anholt <eric@anholt.net>
Wed, 27 Apr 2016 23:10:59 +0000 (16:10 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 2 May 2016 18:06:29 +0000 (11:06 -0700)
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
src/gallium/drivers/vc4/vc4_qpu_emit.c

index a1646d7369e4877c7c2d02a5749540df4a8f6fde..4cee99f15770312f1eaac5f25159b67a070d66e1 100644 (file)
@@ -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);
index ae3590854b2a41b6f62ed864d851550e7c8f602c..11640faa633e0f51dd196034e5d1b0903af14f8a 100644 (file)
@@ -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