mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Don't directly frame-reference lists being executed
* It's no longer needed as they don't have direct parents anymore, and it can break in cases where a list is being re-recorded while a frame capture is on-going (but hasn't been baked).
This commit is contained in:
@@ -379,9 +379,6 @@ void STDMETHODCALLTYPE WrappedID3D12CommandQueue::ExecuteCommandLists(
|
||||
record->bakedCommands->AddResourceReferences(GetResourceManager());
|
||||
record->bakedCommands->AddReferencedIDs(refdIDs);
|
||||
|
||||
// ref the parent command list by itself, this will pull in the cmd buffer pool
|
||||
GetResourceManager()->MarkResourceFrameReferenced(record->GetResourceID(), eFrameRef_Read);
|
||||
|
||||
// reference all executed bundles as well
|
||||
for(size_t b = 0; b < record->bakedCommands->cmdInfo->bundles.size(); b++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user