Add object naming and debug marker/regions to bloom sample
This commit is contained in:
parent
d223dfa72b
commit
a1d8558b89
2 changed files with 202 additions and 153 deletions
|
|
@ -1358,6 +1358,8 @@ void VulkanExampleBase::setupDepthStencil()
|
|||
getMemoryType(memReqs.memoryTypeBits, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, &mem_alloc.memoryTypeIndex);
|
||||
err = vkAllocateMemory(device, &mem_alloc, nullptr, &depthStencil.mem);
|
||||
assert(!err);
|
||||
|
||||
vkDebug::SetObjectName(device, depthStencil.image, "Backbuffer depth-stencil");
|
||||
|
||||
err = vkBindImageMemory(device, depthStencil.image, depthStencil.mem, 0);
|
||||
assert(!err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue