- 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
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[package]
|
|
name = "renderer"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
renderer_device = { path = "../renderer_device" }
|
|
renderer_resources = { path = "../renderer_resources" }
|
|
renderer_macros = { path = "renderer_macros" }
|
|
arrayvec = { workspace = true }
|
|
indexmap = { workspace = true }
|
|
petgraph = { workspace = true }
|
|
# itertools = { workspace = true }
|
|
ahash = { workspace = true }
|
|
# rand = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
glam = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
thread_local = {workspace = true}
|
|
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
ash = { workspace = true }
|
|
ash-window = { workspace = true }
|
|
# vk-mem = { workspace = true }
|
|
rectangle-pack = { workspace = true }
|
|
|
|
raw-window-handle = { workspace = true }
|
|
egui = { workspace = true , features = ["bytemuck"]}
|
|
# egui_winit_platform = { workspace = true }
|
|
|
|
# futures = { workspace = true }
|
|
smol = { workspace = true }
|
|
# tokio = {workspace = true, features = ["rt", "sync"]}
|
|
|
|
# bevy_tasks = { workspace = true }
|
|
|
|
derive_more = { workspace = true , features = ["debug"] }
|
|
|
|
cfg-if = "1.0.0"
|
|
crossbeam = "0.8.4"
|
|
bytemuck = { version = "1.21.0", features = ["derive"] }
|
|
|
|
cosmic-text = "0.12.1"
|
|
sys-locale = "0.3.2"
|
|
guillotiere = "0.6.2"
|
|
|
|
ash-formats = { git = "https://github.com/janis-bhm/ash-formats", branch = "main" }
|
|
|
|
[dev-dependencies]
|
|
tracing-test = "0.2.5"
|
|
image = "0.25.5"
|