dzn: Fix pipeline creation when rasterization is disabled
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 1 Apr 2022 08:04:12 +0000 (01:04 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Apr 2022 11:54:43 +0000 (11:54 +0000)
commit05b6c1ed8464c02ddb2835159d1d9c3aec9a4aa4
tree9704be5301af3a7f4e693f411a9e129ebff28203
parentc59fc44114a02ee3d92aa9753b4cc122e2b3c25a
dzn: Fix pipeline creation when rasterization is disabled

We use some of the VkGraphicsPipelineCreateInfo fields that should
be ignored when rasterization in disabled, assuming those who be set
to NULL by the caller in that case, which is not mandated by the
Vulkan specification.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15698>
src/microsoft/vulkan/dzn_pipeline.cpp