[clang] [HLSL] Implement the dst HLSL Function (PR #133828)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 12:37:32 PDT 2025


================
@@ -190,6 +190,32 @@ const inline float dot2add(half2 A, half2 B, float C) {
   return __detail::dot2add_impl(A, B, C);
 }
 
+//===----------------------------------------------------------------------===//
+// dst builtins
+//===----------------------------------------------------------------------===//
+
+/// \fn fvector dst(fvector, fvector)
----------------
metkarpoonam wrote:

Thank you for the suggestion. I will add a vector<T,4> for both input and output types since size is fixed in this case.

https://github.com/llvm/llvm-project/pull/133828


More information about the cfe-commits mailing list