Module |
|
Header |
/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h |
Include |
#include "ShaderConductorContext.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. |
|
|
bDisableScalarBlockLayout |
Disables scalar block layout for structured buffers. |
|
|
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. |
|
|
bEnableSeparateSamplersInGlsl |
Enables separate samplers in GLSL via extensions. |
|
|
bForceSubpassImageDepthFalse |
Force subpass OpTypeImage depth parameter to false as a work around for driver bugs |
|
|
bPackMatricesInRowMajor |
Experimental: Decide how a matrix get packed. |
|
|
bPreserveStorageInput |
Preserve storage inputs used for open gl |
|
|
bRemapAttributeLocations |
Enables re-mapping of input/output attribute locations to include padding for arrays. |
|
|
bRemoveUnusedGlobals |
Removes unused global variables and resources. |
|
|
ShaderModel |
Shader model version of the input language. By default SM6.2. |
|
|
TargetEnvironment |
Name |
Description |
|
---|---|---|
|
ETargetEnvironment |