Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix suballocator cleanup #2323

Merged
merged 3 commits into from
Sep 13, 2023
Merged

Conversation

marc0246
Copy link
Contributor

@marc0246 marc0246 commented Sep 7, 2023

Fixes a bug introduced in #2316 where GenericMemoryAllocator<BumpAllocator> would create aliasing allocations. Also fixes the last part of the strange API decisions from #1997, removing Suballocator::NEEDS_CLEANUP (this is already documented in the changelog under the umbrella that the whole API was reworked). Thanks to this, Suballocator is now object-safe, so I've implemented Debug for dyn Suballocator as well.

@Rua Rua merged commit 2822413 into vulkano-rs:master Sep 13, 2023
@marc0246 marc0246 deleted the suballocator-cleanup branch September 14, 2023 04:20
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
* Fix suballocator cleanup

* impl `Debug` for `dyn Suballocator`
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants