Module |
|
Header |
/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h |
Include |
#include "ShaderCompilerCommon.h" |
struct FShaderConductorOptions
Wrapper structure to pass options descriptor to ShaderConductor. This is mapped to <struct ShaderConductor::Compiler::Options>.
Name | Description | ||
---|---|---|---|
|
bDisableOptimizations |
Force to turn off optimizations. Ignore optimizationLevel below. |
|
|
bEnable16bitTypes |
Enable 16-bit types, such as half, uint16_t. Requires shader model 6.2+. |
|
|
bEnableDebugInfo |
Embed debug info into the binary. |
|
|
bEnableFMAPass |
Enable a pass that converts floating point MUL+ADD pairs into FMAs to avoid re-association. |
|
|
bGlobalsAsPushConstants |
Cross compile global variables as push constants (for Vulkan backend). |
|
|
bPackMatricesInRowMajor |
Experimental: Decide how a matrix get packed. |
|
|
bRemoveUnusedGlobals |
Removes unused global variables and resources. |
|
|
EHlslCompileTar... |
TargetProfile |
Target shader profile. By default HCT_FeatureLevelSM5. |