Skip to content

Commit 89f6ee6

Browse files
committed
Revert "remove convergent attr"
This reverts commit bc6fd04b73a195981ee77823cf1382d04ab96c44.
1 parent 2dff826 commit 89f6ee6

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
@@ -1389,12 +1389,12 @@ float4 trunc(float4);
13891389
/// true, across all active lanes in the current wave.
13901390
_HLSL_AVAILABILITY(shadermodel, 6.0)
13911391
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_active_count_bits)
1392-
uint WaveActiveCountBits(bool Val);
1392+
__attribute__((convergent)) uint WaveActiveCountBits(bool Val);
13931393

13941394
/// \brief Returns the index of the current lane within the current wave.
13951395
_HLSL_AVAILABILITY(shadermodel, 6.0)
13961396
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_get_lane_index)
1397-
uint WaveGetLaneIndex();
1397+
__attribute__((convergent)) uint WaveGetLaneIndex();
13981398

13991399
} // namespace hlsl
14001400
#endif //_HLSL_HLSL_INTRINSICS_H_

0 commit comments

Comments
 (0)