VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

getMaxUsableSampleCount crash

Open Snouf-ID opened this issue 2 years ago • 0 comments

When getMaxUsableSampleCount return VK_SAMPLE_COUNT_1_BIT, program crash with error :

Validation Error: [ VUID-VkSubpassDescription-pResolveAttachments-00848 ] | MessageID = 0xfad6c3cb | vkCreateRenderPass(): Subpass 0 requests multisample resolve from attachment 0 which has VK_SAMPLE_COUNT_1_BIT. The Vulkan spec states: If pResolveAttachments is not NULL, for each resolve attachment that is not VK_ATTACHMENT_UNUSED, the corresponding color attachment must not have a sample count of VK_SAMPLE_COUNT_1_BIT (https://vulkan.lunarg.com/doc/view/1.3.261.0/windows/1.3-extensions/vkspec.html#VUID-VkSubpassDescription-pResolveAttachments-00848)

The tutorial doesn't seem to support no MSAA as an option

Snouf-ID avatar Aug 31 '23 21:08 Snouf-ID