Description
When running the application, when you resize the window, the application will output a vulkan validation error that is as follows:
VUID-VkPresentInfoKHR-pImageIndices-01296(ERROR / SPEC): msgNum: -945112042 - Validation Error: [ VUID-VkPresentInfoKHR-pImageIndices-01296 ] Object 0: handle = 0xb991fa0000000024, type = VK_OBJECT_TYPE_SWAPCHAIN_KHR; | MessageID = 0xc7aabc16 | vkQueuePresentKHR: pSwapchains[0] image at index 2 was not acquired from the swapchain. The Vulkan spec states: Each element of pImageIndices must be the index of a presentable image acquired from the swapchain specified by the corresponding element of the pSwapchains array, and the presented image subresource must be in the VK_IMAGE_LAYOUT_PRESENT_SRC_KHR layout at the time the operation is executed on a VkDevice (https://github.com/KhronosGroup/Vulkan-Docs/search?q=)VUID-VkPresentInfoKHR-pImageIndices-01296)
Objects: 1
[0] 0xb991fa0000000024, type: 1000001000, name: NULL
Screenshots
Reproduction
To reproduce, simply run the program, then resize the window(make sure to let go of the window handle) and the terminal will display the vulkan validation error.
Description
When running the application, when you resize the window, the application will output a vulkan validation error that is as follows:
Screenshots
Reproduction
To reproduce, simply run the program, then resize the window(make sure to let go of the window handle) and the terminal will display the vulkan validation error.