mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Fix analytics tracking of capture features
* We want these flags to be 'sticky', not to be unset if they aren't used in a capture.
This commit is contained in:
@@ -712,11 +712,16 @@ void CaptureContext::LoadCapture(const rdcstr &captureFile, const rdcstr &origFi
|
||||
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);
|
||||
ANALYTIC_SET(CaptureFeatures.SparseResources, m_APIProps.SparseResources);
|
||||
ANALYTIC_SET(CaptureFeatures.MultiGPU, m_APIProps.MultiGPU);
|
||||
ANALYTIC_SET(CaptureFeatures.D3D12Bundle, m_APIProps.D3D12Bundle);
|
||||
if(m_APIProps.ShaderLinkage)
|
||||
ANALYTIC_SET(CaptureFeatures.ShaderLinkage, true);
|
||||
if(m_APIProps.YUVTextures)
|
||||
ANALYTIC_SET(CaptureFeatures.YUVTextures, true);
|
||||
if(m_APIProps.SparseResources)
|
||||
ANALYTIC_SET(CaptureFeatures.SparseResources, true);
|
||||
if(m_APIProps.MultiGPU)
|
||||
ANALYTIC_SET(CaptureFeatures.MultiGPU, true);
|
||||
if(m_APIProps.D3D12Bundle)
|
||||
ANALYTIC_SET(CaptureFeatures.D3D12Bundle, true);
|
||||
|
||||
if(m_APIProps.vendor != GPUVendor::Unknown)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user