From 1c51d91bfeb33fc750583729fb1b8a1d1d3e5258 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 15 Dec 2015 16:26:08 -0800 Subject: 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. --- src/vulkan/anv_pipeline.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3