Skip to content

VulkanSwapChain::acquire returns early on VK_SUBOPTIMAL_KHR instead of treating it as successful acquire #9732

@NDYDHHC

Description

@NDYDHHC

In VulkanSwapChain::acquire, the current logic does:

call mPlatform->acquire(...)
if result != VK_SUCCESS, return early
This means VK_SUBOPTIMAL_KHR is treated as a failure, even though it is a valid successful acquire result in Vulkan (with a hint that swapchain is suboptimal).

Metadata

Metadata

Assignees

Labels

vulkanIssues with the Vulkan backend

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions