Skip to content

Validation error in swapchain recreation example if VK_EXT_present_mode_fifo_latest_ready is supported but not enabled #1360

@ceeac

Description

@ceeac

OS: Arch Linux Stable
GPU: NVIDIA GTX 1080
Driver: 575.57.08-2

If the VK_EXT_present_mode_fifo_latest_ready device extension is supported but not enabled, vkCreateSwapchainKHR fails with

vkCreateSwapchainKHR(): pCreateInfo->pNext<VkSwapchainPresentModesCreateInfoEXT>.pPresentModes[2] (VK_PRESENT_MODE_FIFO_LATEST_READY_EXT) requires the extensions VK_EXT_present_mode_fifo_latest_ready.

The reason for the error is that present modes provided by supported but disabled extensions are not filtered out here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions