anv/pipeline: Allow the user to pass a null MultisampleCreateInfo
[mesa.git] / src / vulkan / anv_pipeline.c
index bf243cdb6b4316cbfdfd432e8dae080609e83d2e..bf983ed8f2ab7107b4cca04b241880f42572ac4a 100644 (file)
@@ -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);