gfx-rs / gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
http://gfx-rs.github.io/
Apache License 2.0
5.35k stars 548 forks source link

Fix RangeAllocator.allocated_ranges returning empty iterator for fully allocated RangeAllocator #3603

Closed Wumpf closed 3 years ago

Wumpf commented 3 years ago

Noticed when trying to use range-alloc for purpose of buffer zero init tracking in wgpu. (I don't know if this led to other issues down the line)

bors[bot] commented 3 years ago

Build succeeded: