r.ShaderCompiler.DebugDiscardCacheOutputs

r.ShaderCompiler.DebugDiscardCacheOutputs

#Overview

name: r.ShaderCompiler.DebugDiscardCacheOutputs

This variable is created as a Console Variable (cvar).

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/Engine/Private/ShaderCompiler/ShaderCompiler.cpp:306

Scope: file

Source code excerpt:

int32 GShaderCompilerDebugDiscardCacheOutputs = 0;
static FAutoConsoleVariableRef CVarShaderCompilerDebugDiscardCacheOutputs(
	TEXT("r.ShaderCompiler.DebugDiscardCacheOutputs"),
	GShaderCompilerDebugDiscardCacheOutputs,
	TEXT("if != 0, cache outputs are discarded (not added to the output map) for debugging purposes.\nEliminates usefulness of the cache, but allows repeated triggering of the same jobs for stress testing (for example, rapid undo/redo in the Material editor)."),
	ECVF_Default
);

int32 GShaderCompilerParallelSubmitJobs = 1;