commit | 8bed291ec492141ed631b77005437eb57e5b0bf4 | [log] [tgz] |
---|---|---|
author | Farzon Lotfi <1802579+farzonl@users.noreply.github.com> | Mon Apr 22 12:40:21 2024 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 22 09:43:17 2024 -0700 |
tree | 58461824eee705c6c69d09ac48caa0e28db20802 | |
parent | d5fdeec7f64258af1f9dfcf8b520e9e46b985689 [diff] |
[SPIRV][HLSL] map lerp to Fmix (#88976) - `clang/lib/CodeGen/CGBuiltin.cpp` - switch to using `getLerpIntrinsic()` to abstract backend intrinsic - `clang/lib/CodeGen/CGHLSLRuntime.h` - add `getLerpIntrinsic()` - `llvm/include/llvm/IR/IntrinsicsSPIRV.td` - add SPIRV intrinsic for lerp - `llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp` - add mapping of HLSL's lerp to GLSL's Fmix. resolves #88940 GitOrigin-RevId: c4c54af569f7c17bc89ae73c3e5c5c4be0a586b9