Skip to content

Commit 4d407ce

Browse files
committed
Revert "remove convergent attr"
This reverts commit bc6fd04b73a195981ee77823cf1382d04ab96c44.
1 parent 8e3a929 commit 4d407ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Headers/hlsl/hlsl_intrinsics.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,12 +1471,12 @@ double4 trunc(double4);
14711471
/// true, across all active lanes in the current wave.
14721472
_HLSL_AVAILABILITY(shadermodel, 6.0)
14731473
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_active_count_bits)
1474-
uint WaveActiveCountBits(bool Val);
1474+
__attribute__((convergent)) uint WaveActiveCountBits(bool Val);
14751475

14761476
/// \brief Returns the index of the current lane within the current wave.
14771477
_HLSL_AVAILABILITY(shadermodel, 6.0)
14781478
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_get_lane_index)
1479-
uint WaveGetLaneIndex();
1479+
__attribute__((convergent)) uint WaveGetLaneIndex();
14801480

14811481
} // namespace hlsl
14821482
#endif //_HLSL_HLSL_INTRINSICS_H_

0 commit comments

Comments
 (0)