VKERRORFORMATNOTSUPPORTED
VK_ERROR_FORMAT_NOT_SUPPORTED, commonly written as VK_ERROR_FORMAT_NOT_SUPPORTED in Vulkan documentation, is an error code returned by Vulkan functions when the requested format for an image, buffer, or surface is not supported by the physical device or driver for the requested usage or tiling. In Vulkan, error codes are returned as VkResult, and negative values indicate failures. This particular error typically signals a format incompatibility that prevents resource creation or use.
The error often occurs during resource creation or setup, such as when a swapchain is created with
Diagnosis and resolution involve format negotiation. For swapchains, query supported surface formats with vkGetPhysicalDeviceSurfaceFormatsKHR and select
Notes: this is one of several VK_ERROR_* codes indicating format or feature incompatibility. Proper handling includes