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 18c3257 commit c0531fbCopy full SHA for c0531fb
include/nbl/builtin/hlsl/cpp_compat/impl/intrinsics_impl.hlsl
@@ -558,7 +558,7 @@ struct length_helper<Vector NBL_PARTIAL_REQ_BOT(concepts::FloatingPointVector<Ve
558
#ifdef __HLSL_VERSION
559
return spirv::length(vec);
560
#else
561
- return std::sqrt(length_helper<Vector>::__call(vec, vec));
+ return std::sqrt(dot_helper<Vector>::__call(vec, vec));
562
#endif
563
}
564
};
0 commit comments