mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Don't skip writing dirty resources if we have RefAllResources on
This commit is contained in:
@@ -842,7 +842,8 @@ void ResourceManager<ResourceType, RecordType>::InsertInitialContentsChunks(Seri
|
||||
{
|
||||
ResourceId id = *it;
|
||||
|
||||
if(m_FrameReferencedResources.find(id) == m_FrameReferencedResources.end())
|
||||
if(m_FrameReferencedResources.find(id) == m_FrameReferencedResources.end() &&
|
||||
RenderDoc::Inst().GetCaptureOptions().RefAllResources)
|
||||
{
|
||||
RDCDEBUG("Resource %llu is GPU dirty but not referenced - skipping", id);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user