radv: tidy up radv_pipeline_init_blend_state()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 19 Dec 2019 14:52:13 +0000 (15:52 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Dec 2019 07:20:58 +0000 (08:20 +0100)
commit021c7b5309f34513f2cd41abe712c21afcb0c334
tree53643e844448b11af297f90cb3b0ff9af55f572a
parentebc7a778695f6137ae9d41e812cf9f3961eee65f
radv: tidy up radv_pipeline_init_blend_state()

This is needed for the next commit because pColorBlendState can
actually be NULL but some fields might have to be initialized
(eg. alpha to coverage with no color attachments).

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