turnip: fix incorrectly failing assert
authorJonathan Marek <jonathan@marek.ca>
Fri, 6 Dec 2019 01:58:58 +0000 (20:58 -0500)
committerJonathan Marek <jonathan@marek.ca>
Fri, 13 Dec 2019 01:33:16 +0000 (20:33 -0500)
commitab54aceaa82b0f5759aa3d3357837a2918a538d8
tree0a6e5611f46d9a06669f299cb4a0eb69ceae13bf
parent07d8b98b54eb9e8fe9a0378acbfff61d3bd20498
turnip: fix incorrectly failing assert

pColorBlendState is allowed to be NULL if subpass has >0 color attachments
but they are all unused.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_pipeline.c