diff --git a/source/core/slang-type-text-util.cpp b/source/core/slang-type-text-util.cpp index c270dfaacdc..94c7f49c0a8 100644 --- a/source/core/slang-type-text-util.cpp +++ b/source/core/slang-type-text-util.cpp @@ -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"}, diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp index 258492c83a8..e43f1eed7cf 100644 --- a/source/slang/slang-options.cpp +++ b/source/slang/slang-options.cpp @@ -592,15 +592,18 @@ void initCommandOptions(CommandOptions& options) {OptionKind::DenormModeFp16, "-denorm-mode-fp16", "-denorm-mode-fp16 ", - "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 ", - "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 ", - "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, -g",