Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Layer error in api sample swapchain_recreation #1003

Closed
asuessenbach opened this issue Mar 26, 2024 · 2 comments
Closed

Validation Layer error in api sample swapchain_recreation #1003

asuessenbach opened this issue Mar 26, 2024 · 2 comments

Comments

@asuessenbach
Copy link
Contributor

When starting the api sample swapchain_recreation, I get the following Validation Error, triggered in SwapchainRecreation::acquire_next_image:

Validation Error: [ VUID-vkAcquireNextImageKHR-semaphore-01779 ] Object 0: handle = 0xec4bec000000000b, type = VK_OBJECT_TYPE_SEMAPHORE; | MessageID = 0x5717e75b | vkAcquireNextImageKHR(): Semaphore must not have any pending operations. The Vulkan spec states: If semaphore is not VK_NULL_HANDLE it must not have any uncompleted signal or wait operations pending (https://vulkan.lunarg.com/doc/view/1.3.280.0/windows/1.3-extensions/vkspec.html#VUID-vkAcquireNextImageKHR-semaphore-01779)

Build with VS2022, run on NVIDIA GPU.

@SaschaWillems
Copy link
Collaborator

SaschaWillems commented Mar 26, 2024

This is a false validation and has been fixed in the layers recently, but afair didn't make it into the SDK. If you compile validation from github, that error no longer shows up.

@SaschaWillems
Copy link
Collaborator

Retested with SDK 1.3.283 and I'm not seeing any validation. Closing this then.

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

No branches or pull requests

2 participants