mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Check for an active replacement when naming command buffers. Refs #669
This commit is contained in:
@@ -1101,7 +1101,7 @@ bool WrappedVulkan::Serialise_vkDebugMarkerSetObjectNameEXT(Serialiser *localSer
|
||||
// if we don't have a live resource, this is probably a command buffer being named on the
|
||||
// virtual non-existant parent, not any of the baked IDs. Just save the name on the original ID
|
||||
// and we'll propagate it in Serialise_vkBeginCommandBuffer
|
||||
if(!GetResourceManager()->HasLiveResource(id))
|
||||
if(!GetResourceManager()->HasLiveResource(id) || GetResourceManager()->HasReplacement(id))
|
||||
m_CreationInfo.m_Names[id] = name;
|
||||
else
|
||||
m_CreationInfo.m_Names[GetResourceManager()->GetLiveID(id)] = name;
|
||||
|
||||
Reference in New Issue
Block a user