pan/mdg: Dual source blend input/writeout support
authorIcecream95 <ixn@keemail.me>
Thu, 25 Jun 2020 10:21:50 +0000 (22:21 +1200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Jul 2020 01:30:00 +0000 (01:30 +0000)
commit85954ecfefd7e8366b27ec07dcc79e52b03d6abd
treeb9a4e98580335e71959d2fe2da6153da9855a9b9
parent0ff6263534a87534805afe6eac62ddf8ee75824b
pan/mdg: Dual source blend input/writeout support

We write to r2, which is preseved through to the blend shader, from
where it is read. We won't worry about MRT to keep things simple.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5620>
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_opt_copy_prop.c
src/panfrost/midgard/midgard_opt_dce.c
src/panfrost/midgard/midgard_ra.c
src/panfrost/midgard/midgard_ra_pipeline.c
src/panfrost/midgard/mir.c
src/panfrost/midgard/mir_promote_uniforms.c
src/panfrost/midgard/mir_squeeze.c