/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderConductorContext.h
Wrapper structure to pass options descriptor to ShaderConductor. This is mapped to.
struct FShaderConductorOptions
bool
bDisableOptimizations
Force to turn off optimizations. Ignore optimizationLevel below.
bool
bDisableScalarBlockLayout
Disables scalar block layout for structured buffers.
bool
bEnable16bitTypes
Enable 16-bit types, such as half, uint16_t. Requires shader model 6.2+.
bool
bEnableDebugInfo
Embed debug info into the binary.
bool
bEnableFMAPass
Enable a pass that converts floating point MUL+ADD pairs into FMAs to avoid re-association.
bool
bEnableSeparateSamplersInGlsl
Enables separate samplers in GLSL via extensions.
bool
bForceStorageImageFormat
bool
bPackMatricesInRowMajor
Experimental: Decide how a matrix get packed.
bool
bPreserveStorageInput
Preserve storage inputs used for OpenGL
bool
bRemapAttributeLocations
Enables re-mapping of input/output attribute locations to include padding for arrays.
bool
bRemoveUnusedGlobals
Removes unused global variables and resources.
bool
bSvPositionImplicitInvariant
Decorate SV_Position implicitly as invariant.
uint32
HlslVersion
HLSL language input version: 2015, 2016, 2017, 2018 (Default), 2021 (Breaking changes in short-circuiting evaluation).
FHlslShaderMode...
ShaderModel
Shader model version of the input language.Bydefault SM6.2.
ETargetEnvironm...
TargetEnvironment