| bDisableOptimizations |
bool |
Force to turn off optimizations. Ignore optimizationLevel below. |
ShaderConductorContext.h |
|
| bDisableScalarBlockLayout |
bool |
Disables scalar block layout for structured buffers. |
ShaderConductorContext.h |
|
| bEnable16bitTypes |
bool |
Enable 16-bit types, such as half, uint16_t. Requires shader model 6.2+. |
ShaderConductorContext.h |
|
| bEnableDebugInfo |
bool |
Embed debug info into the binary. |
ShaderConductorContext.h |
|
| bEnableFMAPass |
bool |
Enable a pass that converts floating point MUL+ADD pairs into FMAs to avoid re-association. |
ShaderConductorContext.h |
|
| bEnableSeparateSamplersInGlsl |
bool |
Enables separate samplers in GLSL via extensions. |
ShaderConductorContext.h |
|
| bForceStorageImageFormat |
bool |
|
ShaderConductorContext.h |
|
| bPackMatricesInRowMajor |
bool |
Experimental: Decide how a matrix get packed. |
ShaderConductorContext.h |
|
| bPreserveStorageInput |
bool |
Preserve storage inputs used for OpenGL |
ShaderConductorContext.h |
|
| bRemoveUnusedGlobals |
bool |
Removes unused global variables and resources. |
ShaderConductorContext.h |
|
| bSupportPreciseOutputs |
bool |
Decorate output semantics as precise. |
ShaderConductorContext.h |
|
| bSvPositionImplicitInvariant |
bool |
Decorate SV_Position implicitly as invariant. |
ShaderConductorContext.h |
|
| bWarningsAsErrors |
bool |
Treat warnigns as errors. This adds '-WX' to the DXC arguments. See CFLAG_WarningsAsErrors. |
ShaderConductorContext.h |
|
| HlslVersion |
uint32 |
HLSL language input version: 2015, 2016, 2017, 2018 (Default), 2021 (Breaking changes in short-circuiting evaluation). |
ShaderConductorContext.h |
|
| ShaderModel |
FHlslShaderModel |
Shader model version of the input language. By default SM6.2. |
ShaderConductorContext.h |
|
| SpirvCustomOptimizationPasses |
FString |
SPIR-V specific optimization passes to override the default '-O' argument. |
ShaderConductorContext.h |
|
| TargetEnvironment |
ETargetEnvironment |
|
ShaderConductorContext.h |
|