================ @@ -570,7 +716,13 @@ double4 sin(double4); //===----------------------------------------------------------------------===// // sqrt builtins //===----------------------------------------------------------------------===// + +/// \fn T sqrt(T Val) +/// \brief Returns the square root of the input value, \a Val. +/// \param Val The input value. + #ifdef __HLSL_ENABLE_16_BIT +_HLSL_AVAILABILITY(shadermodel, 6.2) ---------------- llvm-beanz wrote:
That's a good catch. I think we're missing all the vector overloads for `sqrt`. I also have another fix coming that specifically adjusts the `half` handling. https://github.com/llvm/llvm-project/pull/78635 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits