projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61ff1e
)
anv/pipeline: Allow the user to pass a null MultisampleCreateInfo
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 16 Dec 2015 00:26:08 +0000
(16:26 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 16 Dec 2015 00:26:10 +0000
(16:26 -0800)
According to section 5.2 of the Vulkan spec, this is allowed for color-only
rendering pipelines.
src/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_pipeline.c
b/src/vulkan/anv_pipeline.c
index bf243cdb6b4316cbfdfd432e8dae080609e83d2e..bf983ed8f2ab7107b4cca04b241880f42572ac4a 100644
(file)
--- 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);