Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/core/slang-type-text-util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ static const NamesDescriptionValue s_floatingPointModes[] = {
{SLANG_FLOATING_POINT_MODE_DEFAULT, "default", "Default floating point mode"}};

static const NamesDescriptionValue s_fpDenormModes[] = {
{SLANG_FP_DENORM_MODE_ANY, "any",
{SLANG_FP_DENORM_MODE_ANY,
"any",
"Use any denormal handling mode (default). The mode used is implementation defined."},
{SLANG_FP_DENORM_MODE_PRESERVE, "preserve", "Preserve denormal values"},
{SLANG_FP_DENORM_MODE_FTZ, "ftz", "Flush denormals to zero"},
Expand Down
9 changes: 6 additions & 3 deletions source/slang/slang-options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,15 +592,18 @@ void initCommandOptions(CommandOptions& options)
{OptionKind::DenormModeFp16,
"-denorm-mode-fp16",
"-denorm-mode-fp16 <denorm-mode>",
"Control handling of 16-bit denormal floating point values in SPIR-V (any, preserve, ftz)"},
"Control handling of 16-bit denormal floating point values in SPIR-V (any, preserve, "
"ftz)"},
{OptionKind::DenormModeFp32,
"-denorm-mode-fp32",
"-denorm-mode-fp32 <denorm-mode>",
"Control handling of 32-bit denormal floating point values in SPIR-V and DXIL (any, preserve, ftz)"},
"Control handling of 32-bit denormal floating point values in SPIR-V and DXIL (any, "
"preserve, ftz)"},
{OptionKind::DenormModeFp64,
"-denorm-mode-fp64",
"-denorm-mode-fp64 <denorm-mode>",
"Control handling of 64-bit denormal floating point values in SPIR-V (any, preserve, ftz)"},
"Control handling of 64-bit denormal floating point values in SPIR-V (any, preserve, "
"ftz)"},
{OptionKind::DebugInformation,
"-g...",
"-g, -g<debug-info-format>, -g<debug-level>",
Expand Down
Loading