Add the comments that were missing from
https://github.com/microsoft/DirectXShaderCompiler/pull/6152.
This commit is contained in:
Steven Perron 2024-01-29 11:28:54 -05:00 коммит произвёл GitHub
Родитель fe70cb07fb
Коммит 6c848245f3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -59,7 +59,14 @@ private:
std::string checkCommands; ///< CHECK commands that verify output
std::string generatedSpirvAsm; ///< Disassembled binary (SPIR-V code)
spv_target_env targetEnv; ///< Environment to validate against
/// If true, the before-hlsl-legalization flag will be passed to the
/// validator. This relaxes the SPIR-V validation rules to account for known
/// invalid code that DXC generates when optimizations are turned off.
bool beforeHLSLLegalization;
/// The next three flags are used to tell the validator which layout rules to
/// use.
bool glLayout;
bool dxLayout;
bool scalarLayout;