added buffer naming for stats json

feature/softbody-runtime-control
Benjamin Kraft 3 months ago
parent 1c03a0a90c
commit d1bcd6babe
  1. 2
      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,

Loading…
Cancel
Save