pan/bi: Don't assign slots for the blend second source
authorIcecream95 <ixn@disroot.org>
Mon, 21 Feb 2022 03:54:50 +0000 (16:54 +1300)
committerAlyssa Rosenzweig <alyssa@collabora.com>
Sat, 5 Mar 2022 19:55:00 +0000 (14:55 -0500)
commitba18799ca12628f2346a3bb0f28dc5124c66072a
treec996dbbcd5c471a9b05a03a2968fd16e9abb589c
parent66a604efb5237d62020d278c596fc13643cdfe8f
pan/bi: Don't assign slots for the blend second source

Another instruction might write to the second source, and then an
INSTR_INVALID_ENC fault will be raised because the tuple will write to
and read from the register at the same time.

Fixes: 795638767d1 ("pan/bi: Use fused dual source blending")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15250>
src/panfrost/bifrost/bi_pack.c