diff options
author | Steven Perron <stevenperron@google.com> | 2025-07-02 08:48:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-02 08:48:57 -0400 |
commit | 4e213159af9eea0716d2cdfbae2c482176608042 (patch) | |
tree | 3f92e75342256acecf8cd8f5629997a51ee18a12 /clang/lib/Basic/SourceManager.cpp | |
parent | 9c0743fbc5ba38ae5f66444d144d314326dc8468 (diff) | |
download | llvm-4e213159af9eea0716d2cdfbae2c482176608042.zip llvm-4e213159af9eea0716d2cdfbae2c482176608042.tar.gz llvm-4e213159af9eea0716d2cdfbae2c482176608042.tar.bz2 |
[SPIRV] Add FloatControl2 capability (#144371)
Add handling for FPFastMathMode in SPIR-V shaders. This is a first pass
that
simply does a direct translation when the proper extension is available.
This will unblock work for HLSL. However, it is not a full solution.
The default math mode for spir-v is determined by the API. When
targeting Vulkan many of the fast math options are assumed. We should do
something particular when targeting Vulkan.
We will also need to handle the hlsl "precise" keyword correctly when
FPFastMathMode is not available.
Unblockes https://github.com/llvm/llvm-project/issues/140739, but we are
keeing it open to track the remaining issues mentioned above.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions