diff options
author | Deric C. <cheung.deric@gmail.com> | 2025-04-29 09:08:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 09:08:12 -0700 |
commit | ad66e5495d598c9f64cfafba92ba48f2a24b8278 (patch) | |
tree | 2dae8bbd822b0abff41fb197e90f9678a30134c9 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | f37ab152540d374ceff8551abef3de5110e697ee (diff) | |
download | llvm-ad66e5495d598c9f64cfafba92ba48f2a24b8278.zip llvm-ad66e5495d598c9f64cfafba92ba48f2a24b8278.tar.gz llvm-ad66e5495d598c9f64cfafba92ba48f2a24b8278.tar.bz2 |
[DirectX] Revise descriptions of DXIL module flags (#133543)
This PR revises the descriptions of DXIL module flags.
Descriptions such as `D3D11_1_SB_GLOBAL_FLAG_SKIP_OPTIMIZATION` are
referring to Global Flags in DXBC.
DXBC is not a supported backend target, so references to DXBC should not
be present.
There is also confusion with regards to the description of the
`LowPrecisionPresent` DXIL module flag, which currently reads
`D3D11_1_SB_GLOBAL_FLAG_ENABLE_MINIMUM_PRECISION` and implies the use of
minimum-precision to handle 16-bit types.
However this is not true, because both the flags `LowPrecisionPresent`
and `UseNativeLowPrecision` can simultaneously be set in the same DXIL
module, and minimum precision mode is mutually exclusive with native low
precision.
This PR revises the description of the `LowPrecisionPresent` flag to
accurately describe what it represents.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions