pan/bi: Make bi_writemask take a destination
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 18 Feb 2021 21:56:16 +0000 (16:56 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 19:17:50 +0000 (19:17 +0000)
commit8cbded63fba06263eee0c231eca3594d0d35a1c6
treec90c196e635ac3f757058fd89050b9b082282673
parent35e24aef6f7680280f97728f69c9cfe27070539f
pan/bi: Make bi_writemask take a destination

Assuming it's only the first destination breaks assumptions across the
compiler. Add a destination source and fix up the many corresponding
issues. Nothing to backport as far as I understand since multidest
instruction are new.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9164>
src/panfrost/bifrost/bi_liveness.c
src/panfrost/bifrost/bi_opt_dce.c
src/panfrost/bifrost/bi_ra.c
src/panfrost/bifrost/bir.c
src/panfrost/bifrost/compiler.h