radv: ignore pColorBlendState if rasterization is disabled
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 19 Dec 2019 14:03:41 +0000 (15:03 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Dec 2019 07:21:02 +0000 (08:21 +0100)
commit2eef9e050f6228d134aec07e2c7fadc9d0961049
tree9685cf839aff8fa6a56b5f1f373aa417fb3612be
parent021c7b5309f34513f2cd41abe712c21afcb0c334
radv: ignore pColorBlendState if rasterization is disabled

Or if the subpass has no color attachments.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3167>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3167>
src/amd/vulkan/radv_pipeline.c