pan/bi: Check dependencies of both destinations of instructions
authorIcecream95 <ixn@disroot.org>
Mon, 14 Feb 2022 03:26:59 +0000 (16:26 +1300)
committerAlyssa Rosenzweig <alyssa@collabora.com>
Sat, 5 Mar 2022 19:50:09 +0000 (14:50 -0500)
commitcb8c47b15e4acecd0cacda8a3d9d20b578f1b4f2
tree742834bb9e2417a7f78c25c87e598f587ee452e3
parent9e714f7455d581bf20ec7a72ee84ab4e381c08a9
pan/bi: Check dependencies of both destinations of instructions

TEXC can have two destinations; the value for neither of them can be
used in the same bundle, so extend the code to check for this to
iterate over both destinations.

Fixes artefacts in the game "LIMBO".

Fixes: a303076c1ab ("pan/bi: Add bi_instr_schedulable predicate")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15250>
src/panfrost/bifrost/bi_schedule.c