Skip to content

Vulkan Validation Error: VUID-VkPresentInfoKHR-pImageIndices-01296 #5

Description

@AntarticCoder

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

Screenshot 2023-06-10 at 3 47 58 PM

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingFix-LaterWill not fix at the moment, but is planned to be fixed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions