Skip to content

VkPipelineMultisampleStateCreateInfo::rasterizationSamples relation to VkRenderPass of graphics pipeline #2697

@procedural

Description

@procedural

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions