False positive validation warnings on window resizes #26
Labels
linux
Only concerns Linux
thirdparty
This issue is not on our side and can't be worked on
vulkan
Related to the Vulkan backend
On some linux window managers, vulkan validation layers incorrectly report errors when resizing the swapchain. Errors look like this:
Validation Error: [ VUID-VkSwapchainCreateInfoKHR-imageExtent-01274 ] Object 0: handle = 0x25f4770, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x7cd0911d | vkCreateSwapchainKHR() called with imageExtent = (896,583), which is outside the bounds returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR(): currentExtent = (899,587), minImageExtent = (899,587), maxImageExtent = (899,587). The Vulkan spec states: imageExtent must be between minImageExtent and maxImageExtent, inclusive, where minImageExtent and maxImageExtent are members of the VkSurfaceCapabilitiesKHR structure returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR for the surface (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkSwapchainCreateInfoKHR-imageExtent-01274
The error is a false positive and inconsequential, this bug is known.
See KhronosGroup/Vulkan-ValidationLayers#1340
The text was updated successfully, but these errors were encountered: