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

Unwrap VkInstance in set name/tag debug functions #1267

Conversation

charles-lunarg
Copy link
Collaborator

It is possible for a layer to wrap the instance handle, and when the various Set Name/Tag debug functions are called, the passed structure may contain an instance handle which was previously not being unwrapped before calling down the chain. This caused renderdoc to crash, as the instance handle was not known to it.

Fixes #1266

It is possible for a layer to wrap the instance handle, and when the various
Set Name/Tag debug functions are called, the passed structure may contain an
instance handle which was previously not being unwrapped before calling down
the chain. This caused renderdoc to crash, as the instance handle was not
known to it.
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 15497.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2104 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2104 failed.

@charles-lunarg
Copy link
Collaborator Author

Seems that github actions is stalled for an unknown reason - it has passed on my fork so I am going to go ahead and merge.
https://github.com/charles-lunarg/Vulkan-Loader/actions/runs/5718991560

@charles-lunarg charles-lunarg merged commit faeb94c into KhronosGroup:main Jul 31, 2023
0 of 37 checks passed
@charles-lunarg charles-lunarg deleted the unwrap_instance_in_debug_functions branch July 31, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vkSetDebugUtilsObjectNameEXT doesn't properly unwrap VkInstance being named
3 participants