mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-13 10:11:02 +00:00
Don't add replay-exclusive resources to resource list on D3D12
This commit is contained in:
@@ -1571,7 +1571,7 @@ public:
|
||||
: WrappedDeviceChild12(id, real, device)
|
||||
{
|
||||
m_OrigAddress = origAddress;
|
||||
if(IsReplayMode(device->GetState()))
|
||||
if(IsReplayMode(device->GetState()) && id != ResourceId())
|
||||
device->AddReplayResource(GetResourceID(), this);
|
||||
|
||||
m_Heap = (WrappedID3D12Heap *)heap;
|
||||
|
||||
Reference in New Issue
Block a user