We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8713a53 commit dd0bfbcCopy full SHA for dd0bfbc
clang/lib/Headers/hlsl/hlsl_compat_overloads.h
@@ -262,14 +262,14 @@ _DXC_COMPAT_UNARY_INTEGER_OVERLOADS(degrees)
262
//===----------------------------------------------------------------------===//
263
264
template <typename T, uint N>
265
-constexpr __detail::enable_if_t<(N > 1 && N <= 4), T> dot(
266
- vector<T, N> V1, T V2) {
+constexpr __detail::enable_if_t<(N > 1 && N <= 4), T> dot(vector<T, N> V1,
+ T V2) {
267
return dot(V1, (vector<T, N>)V2);
268
}
269
270
271
272
- T V1, vector<T, N> V2) {
+constexpr __detail::enable_if_t<(N > 1 && N <= 4), T> dot(T V1,
+ vector<T, N> V2) {
273
return dot((vector<T, N>)V1, V2);
274
275
0 commit comments