================ @@ -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) ---------------- farzonl wrote:
THe fvector terminology used by the DirectX spec is confusing I'd be happier with vector<T, 4>. We tend to just use a Templated definition if there are multiple overloads to indicate which arguments and return types are the same see examples ``` /// \fn K distance(T X, T Y) // \fn T fmod(T X, T Y) ``` https://github.com/llvm/llvm-project/pull/133828 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits