[clang] [llvm] [HLSL] Implement the `faceforward` intrinsic (PR #135878)
Kaitlin Peng via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 14:48:03 PDT 2025
================
@@ -126,6 +126,24 @@ template <typename T> constexpr vector<T, 4> lit_impl(T NDotL, T NDotH, T M) {
return Result;
}
+template <typename T> constexpr T faceforward_impl(T N, T I, T Ng) {
----------------
kmpeng wrote:
You're right. Removed vector implementation
https://github.com/llvm/llvm-project/pull/135878
More information about the llvm-commits
mailing list