Commit graph

7 commits

Author SHA1 Message Date
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
janis 0426e4039b
testing harness 2026-10-26 02:50:28 +01:00
janis f7c67f9872
managed descriptorsets 2026-10-26 02:11:29 +01:00
janis 5f7bbba49d
custom resource descriptors for graph 2026-10-25 00:13:26 +02:00
janis d367b4d05b
use renderer_resources 2026-10-24 23:05:51 +02:00
janis e7a6536df5
initial renderer_rendergraph 2026-10-24 22:23:02 +02:00
janis f9c18bcd3c
newtype queue family index 2026-10-24 21:37:07 +02:00