SpiecsEngine
 
Loading...
Searching...
No Matches

◆ OnDescription()

void Spices::GpuCrashTracker::OnDescription ( PFN_GFSDK_Aftermath_AddGpuCrashDumpDescription addDescription)
staticprivate

Handler for GPU crash dump description callbacks.

Parameters
[in]addDescriptionPFN_GFSDK_Aftermath_AddGpuCrashDumpDescription.

Add some basic description about the crash. This is called after the GPU crash happens, but before the actual GPU crash dump callback. The provided data is included in the crash dump and can be retrieved using GFSDK_Aftermath_GpuCrashDump_GetDescription().

Add some basic description about the crash. This is called after the GPU crash happens, but before the actual GPU crash dump callback. The provided data is included in the crash dump and can be retrieved using GFSDK_Aftermath_GpuCrashDump_GetDescription().

Definition at line 188 of file NsightAftermathGpuCrashTracker.cpp.

189 {
191
197 addDescription(GFSDK_Aftermath_GpuCrashDumpDescriptionKey_ApplicationName , "SpicesEngineNsightAftermath");
198 addDescription(GFSDK_Aftermath_GpuCrashDumpDescriptionKey_ApplicationVersion , "v1.0");
199 addDescription(GFSDK_Aftermath_GpuCrashDumpDescriptionKey_UserDefined , "Aftermath GPU Crash Dump.");
200 addDescription(GFSDK_Aftermath_GpuCrashDumpDescriptionKey_UserDefined + 1 , "Engine State: Rendering.");
201 addDescription(GFSDK_Aftermath_GpuCrashDumpDescriptionKey_UserDefined + 2 , "More user-defined information...");
202 }
#define SPICES_PROFILE_ZONE