diff options
author | Jason Ekstrand <[email protected]> | 2015-12-15 16:26:08 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-15 16:26:10 -0800 |
commit | 1c51d91bfeb33fc750583729fb1b8a1d1d3e5258 (patch) | |
tree | 41298199f123e6e6f0a05055bb1d42be28f4c865 /src/vulkan | |
parent | d61ff1ed0827df87b811862cf4e0d2985c075aa7 (diff) |
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.
Diffstat (limited to 'src/vulkan')
-rw-r--r-- | src/vulkan/anv_pipeline.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |