panfrost: Pass blend RT number through
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 24 Nov 2019 02:44:16 +0000 (21:44 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Mon, 16 Dec 2019 09:10:33 +0000 (09:10 +0000)
commita2d5503b68ab54055bad2592aff7cbe193c2345b
tree2d91c7b0955fa69416520e12486fcec409e71267
parent2c1983aefeb6dacfbc61f9edd71975ea359fae40
panfrost: Pass blend RT number through

We have to key the blend shader for the render target number due to
writeout silliness.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Visoso <tomeu.vizoso@collabora.com>
src/gallium/drivers/panfrost/pan_assemble.c
src/gallium/drivers/panfrost/pan_blend_cso.c
src/gallium/drivers/panfrost/pan_blend_shaders.c
src/gallium/drivers/panfrost/pan_blend_shaders.h
src/panfrost/midgard/compiler.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_compile.h