vidya/crates/renderer_device/Cargo.toml
janis e116851b90
feat: migrate GPU memory allocator from gpu-allocator to VMA (vk-mem)
- Replace gpu-allocator with vk-mem 0.5.0 (VMA 3.3.0) in renderer_device
- Add public GpuAllocation wrapper, MemoryLocation, AllocationDesc, and
  allocate_for_buffer/image + bind_buffer/image_memory helpers
- Restrict CPU-mapped allocations to HOST_VISIBLE|HOST_COHERENT memory types
- Handle guards: raw buffer/image handles owned before allocation so failure
  paths never leak
- Use renderer_device::device::MemoryLocation across renderer, renderer_resources,
  and renderer_rendergraph; remove all gpu-allocator dependencies
- Error on dedicated allocation below Vulkan 1.1 instead of silent downgrade
- Add Send/Sync asserts, coherent-mapping and dedicated-allocation validation
  tests; update AGENTS.md docs
2026-10-26 13:44:17 +01:00

26 lines
605 B
TOML

[package]
name = "renderer_device"
version = "0.1.0"
edition = "2024"
[features]
testing = []
[dependencies]
ash = { workspace = true }
ash-window = { workspace = true }
vk-mem = { workspace = true }
parking_lot = { workspace = true }
tracing = { workspace = true }
raw-window-handle = { workspace = true }
bitflags = { workspace = true }
tinyvec = { workspace = true }
thiserror = { workspace = true }
md-5 = { workspace = true }
crossbeam = "0.8.4"
dyn-clone = "1"
bytemuck = { version = "1.21.0", features = ["derive"] }
[dev-dependencies]
renderer_macros = { path = "../renderer/renderer_macros" }