- 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
19 lines
467 B
TOML
19 lines
467 B
TOML
[package]
|
|
name = "renderer_resources"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
testing = []
|
|
|
|
[dependencies]
|
|
renderer_device = { path = "../renderer_device" }
|
|
ash = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
tracing = { workspace = true }
|
|
ash-formats = { git = "https://github.com/janis-bhm/ash-formats", branch = "main" }
|
|
|
|
[dev-dependencies]
|
|
renderer_device = { path = "../renderer_device", features = ["testing"] }
|