nvk: Always emit at least one color attachment
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Wed, 11 Oct 2023 02:34:59 +0000 (21:34 -0500)
committerFaith Ekstrand <faith.ekstrand@collabora.com>
Wed, 11 Oct 2023 07:56:58 +0000 (02:56 -0500)
commitb0d0c2d7658f6563cd0e687449fedbc0ba76c603
tree81a0fe9555c8e382575c5aee47dbdf56ff0891a0
parente9747eb91f386099409ac2f473ddb970b220e363
nvk: Always emit at least one color attachment

Without this, alpha to coverage doesn't work because the hardware
ignores the output of the first color from the shader.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25653>
src/nouveau/vulkan/nvk_cmd_draw.c