KhronosGroup / KhronosGroup/OpenXR-SDK-Source
hello_xr does not gracefully clean up Vulkan device/instance
- Dominant language
- Python
- Stars
- 825
- Forks
- 306
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 1
Description
`VulkanGraphicsPlugin` should destroy the `VkDevice` and `VkInstance` it owns on destruction rather than leaking them. This allows the Vulkan validation layers to detect resource leaks, which is useful for finding bugs both in hello_xr itself and in runtimes that use hello_xr with the validation layers as a smoke test for correctness.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate hello_xr's VulkanGraphicsPlugin and trace where it owns or creates the VkDevice and VkInstance. Verify that destruction releases both, then run hello_xr with Vulkan validation layers; done means the layers report no device or instance leaks.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100