Add debug names to some buffers
This commit is contained in:
parent
5cc21c5a4a
commit
5446e37874
4 changed files with 26 additions and 4 deletions
|
|
@ -349,6 +349,7 @@ void VulkanFrameBuffer::CopyScreenToBuffer(int w, int h, uint8_t *data)
|
|||
bufbuilder.setSize(w * h * 4);
|
||||
bufbuilder.setUsage(VK_BUFFER_USAGE_TRANSFER_DST_BIT, VMA_MEMORY_USAGE_GPU_TO_CPU);
|
||||
auto staging = bufbuilder.create(device);
|
||||
staging->SetDebugName("CopyScreenToBuffer");
|
||||
|
||||
// Copy from image to buffer
|
||||
VkBufferImageCopy region = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue