Commit graph

13 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 a173cf18ff
extract resources into renderer_resources 2026-10-24 21:16:54 +02:00
janis dd02ea23cf
simplify device ownership logic 2026-10-24 18:11:14 +02:00
janis ce46ca1801
extract device into renderer_device
add deviceref macro
2026-10-24 17:36:43 +02:00
janis 08fbc0323c
warnings 2026-10-24 13:14:57 +02:00
janis 933b4a5979
compiles! 2026-04-12 21:12:00 +02:00
janis 44ff4c4839 pipeline cache 2026-04-04 15:46:17 +02:00
janis 82d37247d8 image view type validation 2026-04-02 23:10:01 +02:00
janis b0f6c7a1b3 yeah........ 2026-04-02 17:10:37 +02:00
janis f8907ca6ed more fence/semaphore refactor 2026-03-31 23:07:47 +02:00
Janis cdb18da722 renderer: thread-local commandpools 2025-01-28 02:30:57 +01:00
Janis 8a7bfed29e font rendering test, ahash, F32 new type 2025-01-27 17:05:43 +01:00
Janis dbc4294c09 rendering module 2025-01-10 00:19:46 +01:00