mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Make sure to cache all replay shaders on D3D11
This commit is contained in:
1 file changed
+4
@@ -135,6 +135,8 @@ void D3D11Replay::CreateResources(IDXGIFactory *factory)
|
||||
}
|
||||
}
|
||||
|
||||
m_pDevice->GetShaderCache()->SetCaching(true);
|
||||
|
||||
InitStreamOut();
|
||||
|
||||
RenderDoc::Inst().SetProgress(LoadProgress::DebugManagerInit, 0.1f);
|
||||
@@ -171,6 +173,8 @@ void D3D11Replay::CreateResources(IDXGIFactory *factory)
|
||||
|
||||
RenderDoc::Inst().SetProgress(LoadProgress::DebugManagerInit, 0.9f);
|
||||
|
||||
m_pDevice->GetShaderCache()->SetCaching(false);
|
||||
|
||||
AMDCounters *countersAMD = NULL;
|
||||
NVCounters *countersNV = NULL;
|
||||
IntelCounters *countersIntel = NULL;
|
||||
|
||||
Reference in new issue
Block a user