pan/bi: Pass blend descriptor explicitly in IR

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6749>
This commit is contained in:
Alyssa Rosenzweig 2020-08-03 12:48:25 -04:00 committed by Marge Bot
parent 67d89568af
commit 3d63a476f7

View file

@ -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),