xash3d-fwgs/ref
nilsoncore c7f8a2a8f6 vk: profiler: devmem: store stats for each devmem usage type
Make struct `vk_devmem_allocation_stats_t` which will be able to store
overall stats and stats generic for each usage type.
Move Vulkan related devmem allocation arguments into their own type -
`vk_devmem_allocate_args_t`.
Store `vk_devmem_usage_type_t` inside `vk_devmem_t`, so we can handle
deallocations (frees) for each corresponding type aside from overall
stats.
Make `VK_DevMemAllocateBuffer` and `VK_DevMemAllocateImage` macros which
call generic function `VK_DevMemAllocate` with correspoding usage type
set.
Make function `VK_DevMemUsageTypeString` to be able to get short string
of long enum name.
2023-09-24 06:06:42 +03:00
..
gl engine: client: implement v_dark in engine, instead of making it ref-specific 2023-04-28 16:52:22 +03:00
soft ref: add size argument to COM_FileBase calls 2023-04-26 05:20:45 +03:00
vk vk: profiler: devmem: store stats for each devmem usage type 2023-09-24 06:06:42 +03:00