Skip to content

Crash: Vulkan Validation Error for MSAAExample and DepthMSAAExample #13

Description

@Demorome

I only got this crash when I switched to using an X11 backend, and I'm using a tiling window manager/KWin script, so it's probably due to some weird resizing shenanigans right at the start when the window is opening.

Validation Error: [ VUID-VkFramebufferCreateInfo-flags-04533 ] | MessageID = 0xfe6b2428
vkCreateFramebuffer(): pCreateInfo->pAttachments[1] mip level 0 has width (636) smaller than the corresponding framebuffer width (640).
The Vulkan spec states: If flags does not include VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of pAttachments that is used as an input, color, resolve, or depth/stencil attachment by renderPass must have been created with a VkImageCreateInfo::extent.width greater than or equal to width (https://docs.vulkan.org/spec/latest/chapters/renderpass.html#VUID-VkFramebufferCreateInfo-flags-04533)
Objects: 3
    [0] VkRenderPass 0xa990000000a99
    [1] VkImageView 0xa7a0000000a7a
    [2] VkImage 0xa780000000a78
Validation Error: [ VUID-VkFramebufferCreateInfo-flags-04534 ] | MessageID = 0x77e9b3aa
vkCreateFramebuffer(): pCreateInfo->pAttachments[1] mip level 0 has height (472) smaller than the corresponding framebuffer height (480).
The Vulkan spec states: If flags does not include VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of pAttachments that is used as an input, color, resolve, or depth/stencil attachment by renderPass must have been created with a VkImageCreateInfo::extent.height greater than or equal to height (https://docs.vulkan.org/spec/latest/chapters/renderpass.html#VUID-VkFramebufferCreateInfo-flags-04534)
Objects: 3
    [0] VkRenderPass 0xa990000000a99
    [1] VkImageView 0xa7a0000000a7a
    [2] VkImage 0xa780000000a78```

Metadata

Metadata

Assignees

No one assigned

    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