Add analytics boolean that tracks if bundles are used in D3D12

This commit is contained in:
baldurk
2017-12-11 17:49:05 +00:00
parent e9c7058a4e
commit 606660b4e2
6 changed files with 7 additions and 0 deletions
+1
View File
@@ -150,6 +150,7 @@ void CaptureContext::LoadCapture(const QString &captureFile, const QString &orig
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);
m_MainWindow->setProgress(-1.0f);
+1
View File
@@ -259,6 +259,7 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type)
ANALYTIC_SERIALISE(CaptureFeatures.YUVTextures);
ANALYTIC_SERIALISE(CaptureFeatures.SparseResources);
ANALYTIC_SERIALISE(CaptureFeatures.MultiGPU);
ANALYTIC_SERIALISE(CaptureFeatures.D3D12Bundle);
}
}
+1
View File
@@ -230,6 +230,7 @@ struct Analytics
bool YUVTextures = false;
bool SparseResources = false;
bool MultiGPU = false;
bool D3D12Bundle = false;
} CaptureFeatures;
};
+1
View File
@@ -954,6 +954,7 @@ worked around by re-sorting bindings.
bool YUVTextures = false;
bool SparseResources = false;
bool MultiGPU = false;
bool D3D12Bundle = false;
#endif
};
@@ -3258,6 +3258,8 @@ bool WrappedID3D12GraphicsCommandList::Serialise_ExecuteBundle(SerialiserType &s
if(IsReplayingAndReading())
{
m_pDevice->APIProps.D3D12Bundle = true;
m_Cmd->m_LastCmdListID = GetResourceManager()->GetOriginalID(GetResID(pCommandList));
if(IsActiveReplaying(m_State))
+1
View File
@@ -403,6 +403,7 @@ void DoSerialise(SerialiserType &ser, APIProperties &el)
SERIALISE_MEMBER(YUVTextures);
SERIALISE_MEMBER(SparseResources);
SERIALISE_MEMBER(MultiGPU);
SERIALISE_MEMBER(D3D12Bundle);
SIZE_CHECK(16);
}