Staging Buffers are now labeled

This commit is contained in:
Kah Wei 2022-11-07 13:28:49 +08:00
parent 782db1e2a4
commit fb37742ee0
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ namespace SHADE
// then assign it to the hpp version // then assign it to the hpp version
stagingBuffer = tempBuffer; stagingBuffer = tempBuffer;
SET_VK_OBJ_NAME(device, vk::ObjectType::eBuffer, stagingBuffer, "[Buffer] Staging - " + name);
// Just map, copy then unmap // Just map, copy then unmap
void* stagingBufferMappedPtr = nullptr; void* stagingBufferMappedPtr = nullptr;