vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.48k stars 433 forks source link

Refactor some braindead code in `FreeListAllocator` #2492

Closed marc0246 closed 6 months ago

marc0246 commented 6 months ago

This is better utilizing the built-in binary search capabilities, making the code cleaner, and fixes a bug that I discovered as a result.

Changelog:

### Bugs fixed
- `FreeListAllocator` not giving out suballocations that are free and of suitable size/alignment in a certain edge case.