pan/mdg: Treat inot as a modifier
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 30 Apr 2020 17:46:35 +0000 (13:46 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 20:21:28 +0000 (20:21 +0000)
commit449e5ded9340243b68183d7fffcc838cf283c89c
treeaddb9b415d603eb5e52561368ec0709b13f6565e
parentb124f5315cf5b6a81ddfc18643a3a52ed9a87a83
pan/mdg: Treat inot as a modifier

With this, we may remove all invert passes and simply look at the src
modifier on NIR->MIR and fixup at pack time. No shader-db changes.

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
src/panfrost/midgard/midgard_emit.c
src/panfrost/midgard/midgard_nir.h
src/panfrost/midgard/midgard_nir_algebraic.py