- hooked up the debug names for objects, which was a bit of a waste of time since the validation layer is brain dead and doesn't use the information in its messages..
This commit is contained in:
parent
02ed758447
commit
ff68d2e651
11 changed files with 118 additions and 2 deletions
|
|
@ -574,6 +574,7 @@ VulkanCommandBuffer *VulkanFrameBuffer::GetUploadCommands()
|
|||
if (!mUploadCommands)
|
||||
{
|
||||
mUploadCommands = mGraphicsCommandPool->createBuffer();
|
||||
mUploadCommands->SetDebugName("VulkanFrameBuffer.mUploadCommands");
|
||||
mUploadCommands->begin();
|
||||
}
|
||||
return mUploadCommands.get();
|
||||
|
|
@ -584,6 +585,7 @@ VulkanCommandBuffer *VulkanFrameBuffer::GetDrawCommands()
|
|||
if (!mDrawCommands)
|
||||
{
|
||||
mDrawCommands = mGraphicsCommandPool->createBuffer();
|
||||
mDrawCommands->SetDebugName("VulkanFrameBuffer.mDrawCommands");
|
||||
mDrawCommands->begin();
|
||||
}
|
||||
return mDrawCommands.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue