Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getMaxUsableSampleCount crash #355

Open
Snouf-ID opened this issue Aug 31, 2023 · 0 comments
Open

getMaxUsableSampleCount crash #355

Snouf-ID opened this issue Aug 31, 2023 · 0 comments

Comments

@Snouf-ID
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant