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

Fix crash when VkDescriptorSetLayout is destroyed while descriptor set is in use. #2358

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

billhollings
Copy link
Contributor

Vulkan permits VkDescriptorSetLayout to be destroyed while descriptor set is in use, as long as vkUpdateDescriptorSets() is not called.

  • MVKDescriptorSet retain() layout on allocation, and release() it on free.

Fixes #2356.

…t is in use.

Vulkan permits VkDescriptorSetLayout to be destroyed while descriptor set
is in use, as long as vkUpdateDescriptorSets() is not called.

- MVKDescriptorSet retain() layout on allocation, and release() it on free.
@billhollings billhollings merged commit ff82a82 into KhronosGroup:main Sep 30, 2024
6 checks passed
@billhollings billhollings deleted the desc-set-layout-retain branch September 30, 2024 15:39
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.

descriptor set trouble
2 participants