panfrost: Remove MRT indirection in blend shaders
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 30 Dec 2019 17:13:45 +0000 (12:13 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 30 Dec 2019 22:11:08 +0000 (17:11 -0500)
commit8f4b15636b0c51519d3798dbf77291e5bad7ec3e
treed7811c1a1555ce6dc7f3a176a6a280fec82550df
parent67fe2afa51984398a7d9d458447b99522a847def
panfrost: Remove MRT indirection in blend shaders

Since we have a separate blend shader for each render target, let's
simplify this structure and reduce the options memory footprint by 88%
or something goofy like that.

Should also enable separate blending per render target.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/nir/nir_lower_blend.c
src/gallium/drivers/panfrost/nir/nir_lower_blend.h
src/gallium/drivers/panfrost/pan_blend_shaders.c
src/panfrost/midgard/disassemble.c