turnip: fix alpha to coverage in no color and unused attachment cases
authorYannik Marek <yannik@marek.ca>
Mon, 8 Feb 2021 20:11:37 +0000 (15:11 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Mar 2021 22:02:43 +0000 (22:02 +0000)
commit369f9d225db1c44bb1e942f4ad8fefd871b8cf28
tree40fa0b705fff5fda0d2cae2cf81d84f6fe5a3670
parentea27f2bf092f462171fe14a44619565d14f43fb8
turnip: fix alpha to coverage in no color and unused attachment cases

In cases where the alpha coverage is enabled but the color attachment is
either unused or absent there should be a dummy mrt to make the draw behave
correctly.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Yannik Marek <yannik@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8952>
src/freedreno/ci/deqp-freedreno-a630-fails.txt
src/freedreno/vulkan/tu_pipeline.c