From d1bcd6babe193b0a1059bd64d8b3c7bae661002a Mon Sep 17 00:00:00 2001 From: Benjamin Kraft Date: Sun, 6 Oct 2024 16:49:54 +0200 Subject: [PATCH] added buffer naming for stats json --- src/vulkan/buffer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vulkan/buffer.cpp b/src/vulkan/buffer.cpp index 150a614..869ea47 100644 --- a/src/vulkan/buffer.cpp +++ b/src/vulkan/buffer.cpp @@ -18,8 +18,6 @@ Buffer::Buffer(VkDeviceSize size, VkBufferUsageFlags bufferUsage, VmaMemoryUsage allocationCreateInfo.flags = flags; vmaCreateBuffer(Instance::GetAllocator(), &bufferCreateInfo, &allocationCreateInfo, &handle, &allocation, &allocationInfo); - - vmaSetAllocationName(Instance::GetAllocator(), allocation, "My Custom name"); } Buffer::Buffer(VkDeviceSize size, void *data, VkDeviceSize dataSize, VkBufferUsageFlags bufferUsage,