r.Vulkan.ReleaseShaderModuleWhenEvictingPSO
r.Vulkan.ReleaseShaderModuleWhenEvictingPSO
#Overview
name: r.Vulkan.ReleaseShaderModuleWhenEvictingPSO
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
0: shader modules remain when a PSO is removed from the PSO LRU cache. (default)\n1: shader modules are destroyed when a PSO is removed from the PSO LRU cache. This can save memory at the risk of increased hitching and cpu cost.
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/VulkanRHI/Private/VulkanPipeline.cpp:156
Scope: file
Source code excerpt:
static int32 GVulkanReleaseShaderModuleWhenEvictingPSO = 0;
static FAutoConsoleVariableRef GVulkanReleaseShaderModuleWhenEvictingPSOCVar(
TEXT("r.Vulkan.ReleaseShaderModuleWhenEvictingPSO"),
GVulkanReleaseShaderModuleWhenEvictingPSO,
TEXT("0: shader modules remain when a PSO is removed from the PSO LRU cache. (default)\n")
TEXT("1: shader modules are destroyed when a PSO is removed from the PSO LRU cache. This can save memory at the risk of increased hitching and cpu cost.")
,ECVF_RenderThreadSafe
);