diff options
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_dump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_dump.c b/src/gallium/drivers/freedreno/ir3/ir3_dump.c index 1a6f49d51cd..61336284412 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_dump.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_dump.c @@ -322,7 +322,8 @@ static void ir3_block_dump(struct ir3_dump_ctx *ctx, /* draw instruction graph: */ for (i = 0; i < block->noutputs; i++) - dump_instr(ctx, block->outputs[i]); + if (block->outputs[i]) + dump_instr(ctx, block->outputs[i]); /* draw outputs: */ fprintf(ctx->f, "output%lx [shape=record,label=\"outputs", PTRID(block)); |