diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/command-line-slangc-reference.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md index 30a0a5e6a..3a0b9acd1 100644 --- a/docs/command-line-slangc-reference.md +++ b/docs/command-line-slangc-reference.md @@ -27,6 +27,7 @@ slangc -help-style markdown -h * [line-directive-mode](#line-directive-mode) * [debug-info-format](#debug-info-format) * [fp-mode](#fp-mode) +* [fp-denormal-mode](#fp-denormal-mode) * [help-style](#help-style) * [optimization-level](#optimization-level) * [debug-level](#debug-level) @@ -396,6 +397,30 @@ Disables generics and specialization pass. Control floating point optimizations +<a id="denorm-mode-fp16"></a> +### -denorm-mode-fp16 + +**-denorm-mode-fp16 <[fp-denormal-mode](#fp-denormal-mode)>** + +Control handling of 16-bit denormal floating point values in SPIR-V (any, preserve, ftz) + + +<a id="denorm-mode-fp32"></a> +### -denorm-mode-fp32 + +**-denorm-mode-fp32 <[fp-denormal-mode](#fp-denormal-mode)>** + +Control handling of 32-bit denormal floating point values in SPIR-V and DXIL (any, preserve, ftz) + + +<a id="denorm-mode-fp64"></a> +### -denorm-mode-fp64 + +**-denorm-mode-fp64 <[fp-denormal-mode](#fp-denormal-mode)>** + +Control handling of 64-bit denormal floating point values in SPIR-V (any, preserve, ftz) + + <a id="g"></a> ### -g @@ -962,6 +987,15 @@ Floating Point Mode * `fast` : Allow optimizations that may change results of floating-point computations. Prefer the fastest version of special functions supported by the target. * `default` : Default floating point mode +<a id="fp-denormal-mode"></a> +## fp-denormal-mode + +Floating Point Denormal Handling Mode + +* `any` : Use any denormal handling mode (default). The mode used is implementation defined. +* `preserve` : Preserve denormal values +* `ftz` : Flush denormals to zero + <a id="help-style"></a> ## help-style |
