summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-04-27 16:10:59 -0700
committerEric Anholt <[email protected]>2016-05-02 11:06:29 -0700
commit4a2ad8500d40038661a99c81e88d4660ca98c032 (patch)
tree13343b37fd3612039aec030a76a073bcc62f24d7
parent84322b2f315d5dfdb15302ed6cbe5ed79d775d69 (diff)
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.
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c2
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu_emit.c1
2 files changed, 3 insertions, 0 deletions
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