gpu-allocator
gpu-allocator copied to clipboard
π¦ GPU memory allocator for Vulkan, DirectX 12 and Metal. Written in pure Rust
Implements gpu-allocator for the Metal API. This PR does not implement the visualizer, as I'm currently unable to test that on Metal
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version. Changelog Sourced from env_logger's changelog. [0.11.0] - 2024-01-19 Breaking Change Removed bespoke styling API env_logger::fmt::Formatter::style env_logger::fmt::Formatter::default_styled_level env_logger::fmt::Style env_logger::fmt::Color env_logger::fmt::StyledValue Removed...
We've had this feature previously but it got nerf'd during our transition from egui to imgui. It's small but super useful to be able to see the total amount of...
This will be a bit of a longer road map item, but to keep this crate lean I'd like to turn all our gui crates off by default. Ideally we...
I was trying to compile `bevy` using [`cargo minimal-versions`](https://github.com/taiki-e/cargo-minimal-versions) and noticed that `gpu-allocator` depended on `backtrace 0.3` and `log 0.4`, but actually used features from `backtrace 0.3.3` (`Backtrace::new_unresolved` and `Backtrace::resolve`)...
Firefox would very much like to use `gpu-allocator` in its Direct3D12 backend for WebGPU on Windows, but we cannot: - Firefox has a policy of vendoring all our dependency crates...
The allocator type is quite large. This is due to holding a `ash::Device`. Summary of -Z print-type-sizes (`cargo +nightly rustc -- -Z print-type-sizes`): ``` print-type-size type: `gpu_allocator::vulkan::Allocator`: 1552 bytes, alignment:...
`Allocator::new` should not be safe because there is no guarantee the caller has made sure the `ash::Device` outlives the allocator. The `AllocatorCreateDesc` also needs to be populated so that the...
PIX added this api recently to record memory allocation events, we should integrate it into the library for better debugging.
When using the visualizer's UI to look at multiple memory blocks, a condition can be met where closing one of the windows causes the program to panic. Error message: ```...