KhronosGroup / KhronosGroup/Vulkan-Docs
VkPipelineMultisampleStateCreateInfo::rasterizationSamples relation to VkRenderPass of graphics pipeline
Open
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 549
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 2
Description
I feel like it's not mentioned anywhere explicitly that `vkCreateGraphicsPipelines()`'s `VkGraphicsPipelineCreateInfo`'s `VkPipelineMultisampleStateCreateInfo::rasterizationSamples` value dictates what `VkSampleCountFlagBits` value must be specified in all attachments of `VkRenderPass` passed to `VkGraphicsPipelineCreateInfo`, all of its color and depth/stencil attachments
Or, in other words, that all color and depth/stencil attachments of `VkGraphicsPipelineCreateInfo::renderPass` must be of the same `VkSampleCountFlagBits` value as `VkPipelineMultisampleStateCreateInfo::rasterizationSamples`
Contributor guide
Assessment
This issue has not been assessed yet.