From 3d63a476f7a05eaa7810b86405381285fb6672ad Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 3 Aug 2020 12:48:25 -0400 Subject: [PATCH] pan/bi: Pass blend descriptor explicitly in IR Signed-off-by: Alyssa Rosenzweig Reviewed-by: Daniel Stone Part-of: --- src/panfrost/bifrost/bifrost_compile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 3f08638..5519387 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -156,6 +156,9 @@ bi_emit_frag_out(bi_context *ctx, nir_intrinsic_instr *instr) .src = { pan_src_index(&instr->src[0]), BIR_INDEX_REGISTER | 60 /* Can this be arbitrary? */, + /* Blend descriptor */ + BIR_INDEX_PASS | BIFROST_SRC_CONST_LO, + BIR_INDEX_PASS | BIFROST_SRC_CONST_HI, }, .src_types = { nir_intrinsic_type(instr), -- 2.7.4