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
I feel like it's not mentioned anywhere explicitly that
vkCreateGraphicsPipelines()'sVkGraphicsPipelineCreateInfo'sVkPipelineMultisampleStateCreateInfo::rasterizationSamplesvalue dictates whatVkSampleCountFlagBitsvalue must be specified in all attachments ofVkRenderPasspassed toVkGraphicsPipelineCreateInfo, all of its color and depth/stencil attachmentsOr, in other words, that all color and depth/stencil attachments of
VkGraphicsPipelineCreateInfo::renderPassmust be of the sameVkSampleCountFlagBitsvalue asVkPipelineMultisampleStateCreateInfo::rasterizationSamples