r.D3D12.NvAfterMath
r.D3D12.NvAfterMath
#Overview
name: r.D3D12.NvAfterMath
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Enable NvAftermath to track the current GPU state and logs information what operations the GPU executed last.\nOnly works on nVidia hardware and will dump GPU crashdumps as well.\n
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/D3D12RHI/Private/D3D12Adapter.cpp:100
Scope: file
Source code excerpt:
static FAutoConsoleVariableRef CVarD3D12EnableNvAftermath(
TEXT("r.D3D12.NvAfterMath"),
GD3D12EnableNvAftermath,
TEXT("Enable NvAftermath to track the current GPU state and logs information what operations the GPU executed last.\n")
TEXT("Only works on nVidia hardware and will dump GPU crashdumps as well.\n"),
ECVF_RenderThreadSafe | ECVF_ReadOnly);
static FAutoConsoleVariableRef CVarD3D12EnableDRED(
#Loc: <Workspace>/Engine/Source/Runtime/D3D12RHI/Private/D3D12Adapter.cpp:1434
Scope (from outer to inner):
file
function void FD3D12Adapter::SetupGPUCrashDebuggingModesCommon
Source code excerpt:
ParseCVar(TEXT("r.GPUCrashDebugging"), ED3D12GPUCrashDebuggingModes((int)ED3D12GPUCrashDebuggingModes::NvAftermath | (int)ED3D12GPUCrashDebuggingModes::DRED));
ParseCVar(TEXT("r.D3D12.BreadCrumbs"), ED3D12GPUCrashDebuggingModes::BreadCrumbs);
ParseCVar(TEXT("r.D3D12.NvAfterMath"), ED3D12GPUCrashDebuggingModes::NvAftermath);
ParseCVar(TEXT("r.D3D12.DRED"), ED3D12GPUCrashDebuggingModes::DRED);
// Enable/disable specific crash debugging modes if requested via command line argument
const auto ParseCommandLine = [this](const TCHAR* CommandLineArgument, ED3D12GPUCrashDebuggingModes DebuggingMode)
{
int32 Value = 0;