Traverse-Research / gpu-allocator

🦀 GPU memory allocator for Vulkan, DirectX 12 and Metal. Written in pure Rust
https://traverse.nl/
Apache License 2.0
380 stars 50 forks source link

Configurable allocation size #156

Closed Elabajaba closed 1 year ago

Elabajaba commented 1 year ago

Currently it seems like gpu-allocator allocated a 256MB buffer on the gpu every time you initialize it. wgpu isn't only used for games, so it'd be nice if we could configure the block size to be smaller for eg. apps like wezterm.

i509VCB commented 1 year ago

This would also be nice for the Vulkan renderer I am writing for Smithay.