pan/mdg: Prepare for modifier helpers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 29 Apr 2020 22:08:26 +0000 (18:08 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 20:21:27 +0000 (20:21 +0000)
commit22bb5a9acb27f12f175ca76128912b6cd16fff79
treec4c2bbce484602abac8ec29f11f6064b20266f4a
parentf0455de6fc8a62d280e965eec15795c6652719e4
pan/mdg: Prepare for modifier helpers

We have to restructure to ensure NIR->MIR does not mutate the NIR and to
allow passing around dest/outmods for the new helpers. If NIR->MIR were
better designed this would be easier. Sigh.

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