r.D3D12.ExplicitDescriptorHeap.DeduplicateSamplers
r.D3D12.ExplicitDescriptorHeap.DeduplicateSamplers
#Overview
name: r.D3D12.ExplicitDescriptorHeap.DeduplicateSamplers
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Use an exhaustive search to deduplicate sampler descriptors when generating shader binding tables. Reduces sampler heap usage at the cost of some CPU time. (default = 1)
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/D3D12RHI/Private/D3D12ExplicitDescriptorCache.cpp:10
Scope: file
Source code excerpt:
static int32 GD3D12ExplicitDeduplicateSamplers = 1;
static FAutoConsoleVariableRef CVarD3D12ExplicitDeduplicateSamplers(
TEXT("r.D3D12.ExplicitDescriptorHeap.DeduplicateSamplers"),
GD3D12ExplicitDeduplicateSamplers,
TEXT("Use an exhaustive search to deduplicate sampler descriptors when generating shader binding tables. Reduces sampler heap usage at the cost of some CPU time. (default = 1)")
);
int32 GD3D12ExplicitViewDescriptorHeapSize = 250'000;
int32 GD3D12ExplicitViewDescriptorHeapOverflowReported = 0;