Skip to content

Commit bd52e61

Browse files
committed
code review feedback - fix comments
1 parent 91cb045 commit bd52e61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/lib/Headers/hlsl/hlsl_intrinsics.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,7 @@ constexpr int4 D3DCOLORtoUBYTE4(float4 V) {
428428

429429
/// \fn uint NonUniformResourceIndex(uint I)
430430
/// \brief A compiler hint to indicate that a resource index varies across
431-
/// threads.
432-
// / within a wave (i.e., it is non-uniform).
431+
/// threads within a wave (i.e., it is non-uniform).
433432
/// \param I [in] Resource array index
434433
///
435434
/// The return value is the \Index parameter.
@@ -438,7 +437,7 @@ constexpr int4 D3DCOLORtoUBYTE4(float4 V) {
438437
/// some GPU hardware and drivers require the compiler to know whether the index
439438
/// is uniform (same for all threads) or non-uniform (varies per thread).
440439
///
441-
/// Using NonUniformResourceIndex explicitly marks an index as non-uniform, .
440+
/// Using NonUniformResourceIndex explicitly marks an index as non-uniform,
442441
/// disabling certain assumptions or optimizations that could lead to incorrect
443442
/// behavior when dynamically accessing resource arrays with non-uniform
444443
/// indices.

0 commit comments

Comments
 (0)