diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 58a8cb823e2..239d2f619cf 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -120,6 +120,12 @@ bi_assign_slots(bi_tuple *now, bi_tuple *prev) if (now->add) { bi_foreach_src(now->add, src) { + /* This is not a real source, we shouldn't assign a + * slot for it. + */ + if (now->add->op == BI_OPCODE_BLEND && src == 4) + continue; + if (!(src == 0 && read_dreg)) bi_assign_slot_read(&now->regs, (now->add)->src[src]); }