aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/bi_print.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-06 09:25:58 -0500
committerMarge Bot <[email protected]>2020-03-07 00:37:39 +0000
commit92a4f26e7f5249df3cb853b3a8cd9e726690d66c (patch)
tree1f936213ce15ddcffa37255725d3d3a2155714a0 /src/panfrost/bifrost/bi_print.c
parent07671826658dfc90ead2773c864a2ba3460a97e2 (diff)
pan/bi: Add blend_location to IR for BI_BLEND
To specify which render target is being written. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4097>
Diffstat (limited to 'src/panfrost/bifrost/bi_print.c')
-rw-r--r--src/panfrost/bifrost/bi_print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c
index 1697fb9dd53..9bdb84e1a4d 100644
--- a/src/panfrost/bifrost/bi_print.c
+++ b/src/panfrost/bifrost/bi_print.c
@@ -298,6 +298,8 @@ bi_print_instruction(bi_instruction *ins, FILE *fp)
bi_print_branch(&ins->branch, fp);
else if (ins->type == BI_CSEL)
fprintf(fp, "%s", bi_cond_name(ins->csel_cond));
+ else if (ins->type == BI_BLEND)
+ fprintf(fp, ".loc%u", ins->blend_location);
if (ins->dest)
bi_print_alu_type(ins->dest_type, fp);