KhronosGroup / KhronosGroup/Vulkan-Docs

VkPipelineMultisampleStateCreateInfo::rasterizationSamples relation to VkRenderPass of graphics pipeline

Open
#2,697 4 comments 0 reactions 1 assignee Claimed by @Tobski View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.