================ @@ -1948,6 +1929,20 @@ float3 normalize(float3); _HLSL_BUILTIN_ALIAS(__builtin_hlsl_normalize) float4 normalize(float4); +//===----------------------------------------------------------------------===// +// NonUniformResourceIndex builtins +//===----------------------------------------------------------------------===// + +/// \fn uint NonUniformResourceIndex(uint I) +/// \brief A compiler hint to indicate that a resource index varies across +/// threads within a wave (i.e., it is non-uniform). +/// \param I [in] Resource array index. +/// +/// The return value is the \a I parameter. + ---------------- bogner wrote:
The comment where this was moved from was like 15 lines long. Is it intentional to make this significantly less verbose? Also I don't know if the extra blank line here will upset doxygen/clang tooling. https://github.com/llvm/llvm-project/pull/188362 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
