mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Display a specific message for resources with no usage tracked
* Currently we only track usage for buffers and textures.
This commit is contained in:
@@ -529,7 +529,7 @@ rdcarray<EventUsage> ReplayController::GetUsage(ResourceId id)
|
||||
|
||||
id = m_pDevice->GetLiveID(id);
|
||||
if(id == ResourceId())
|
||||
return rdcarray<EventUsage>();
|
||||
return {EventUsage(0, ResourceUsage::Unused)};
|
||||
return m_pDevice->GetUsage(id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user