Automatically name image/buffer allocations

This commit is contained in:
Patrick Nicolas
2025-08-16 14:15:29 +02:00
parent dc04f7edcc
commit c15de9bf27
10 changed files with 75 additions and 62 deletions
+2 -1
View File
@@ -20,7 +20,8 @@
#include "vk_allocator.h"
#include "vk/check.h"
vk_allocator::vk_allocator(const VmaAllocatorCreateInfo & info)
vk_allocator::vk_allocator(const VmaAllocatorCreateInfo & info, bool has_debug_utils) :
has_debug_utils(has_debug_utils)
{
CHECK_VK(vmaCreateAllocator(&info, &handle));
}