pan/mdg: Streamline dest_override handling
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 8 May 2020 21:41:49 +0000 (17:41 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 21 May 2020 17:49:14 +0000 (17:49 +0000)
commit1108eaa90de8507d405e7751db83764770eaa931
treef1523566c3b0330d0d4f1a3d603c7233757f3929
parent1e4793a95c2ead611b81365ea57789bff326d7db
pan/mdg: Streamline dest_override handling

We can pass it all off to emit time, and let the types in the IR do the
heavylifting in the meantime, which is a lot easier to get right.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_emit.c
src/panfrost/midgard/midgard_ra.c
src/panfrost/midgard/midgard_schedule.c
src/panfrost/midgard/mir.c