diff options
author | S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli@microsoft.com> | 2024-08-20 12:46:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-20 12:46:33 -0400 |
commit | 6a38e19c92ed09eeecb70d5f61c3b822acb4964d (patch) | |
tree | 3bab697428885997efd2afeb678638666e4bf679 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 514481736cf943464125ef34570a7df0a19290de (diff) | |
download | llvm-6a38e19c92ed09eeecb70d5f61c3b822acb4964d.zip llvm-6a38e19c92ed09eeecb70d5f61c3b822acb4964d.tar.gz llvm-6a38e19c92ed09eeecb70d5f61c3b822acb4964d.tar.bz2 |
[HLSL] Implement support for HLSL intrinsic - saturate (#104619)
Implement support for HLSL intrinsic saturate.
Implement DXIL codegen for the intrinsic saturate by lowering it to DXIL
Op dx.saturate.
Implement SPIRV codegen by transforming saturate(x) to clamp(x, 0.0f,
1.0f).
Add tests for DXIL and SPIRV CodeGen.
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions