mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Only count capture load time in release mode
This commit is contained in:
@@ -160,7 +160,9 @@ void CaptureContext::LoadCapture(const rdcstr &captureFile, const rdcstr &origFi
|
||||
[this]() { return !m_LoadInProgress; },
|
||||
[this]() { return UpdateLoadProgress(); });
|
||||
|
||||
#if defined(RELEASE)
|
||||
ANALYTIC_ADDAVG(Performance.LoadTime, double(loadTimer.nsecsElapsed() * 1.0e-9));
|
||||
#endif
|
||||
|
||||
ANALYTIC_SET(CaptureFeatures.ShaderLinkage, m_APIProps.ShaderLinkage);
|
||||
ANALYTIC_SET(CaptureFeatures.YUVTextures, m_APIProps.YUVTextures);
|
||||
|
||||
Reference in New Issue
Block a user