================
@@ -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)
----------------
bob80905 wrote:

Surprisingly, it looks like there aren't function prototypes for half2/3/4, and 
I imagine we would want this new attribute applied to such aliases. Just a note 
for the future.

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

Reply via email to