From: Jason Ekstrand Date: Wed, 16 Dec 2015 00:26:08 +0000 (-0800) Subject: anv/pipeline: Allow the user to pass a null MultisampleCreateInfo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c51d91bfeb33fc750583729fb1b8a1d1d3e5258;p=mesa.git anv/pipeline: Allow the user to pass a null MultisampleCreateInfo According to section 5.2 of the Vulkan spec, this is allowed for color-only rendering pipelines. --- diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c index bf243cdb6b4..bf983ed8f2a 100644 --- a/src/vulkan/anv_pipeline.c +++ b/src/vulkan/anv_pipeline.c @@ -900,7 +900,6 @@ anv_pipeline_validate_create_info(const VkGraphicsPipelineCreateInfo *info) assert(info->pInputAssemblyState); assert(info->pViewportState); assert(info->pRasterizationState); - assert(info->pMultisampleState); if (subpass && subpass->depth_stencil_attachment != VK_ATTACHMENT_UNUSED) assert(info->pDepthStencilState);