We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dff826 commit 89f6ee6Copy full SHA for 89f6ee6
clang/lib/Headers/hlsl/hlsl_intrinsics.h
@@ -1389,12 +1389,12 @@ float4 trunc(float4);
1389
/// true, across all active lanes in the current wave.
1390
_HLSL_AVAILABILITY(shadermodel, 6.0)
1391
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_active_count_bits)
1392
-uint WaveActiveCountBits(bool Val);
+__attribute__((convergent)) uint WaveActiveCountBits(bool Val);
1393
1394
/// \brief Returns the index of the current lane within the current wave.
1395
1396
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_get_lane_index)
1397
-uint WaveGetLaneIndex();
+__attribute__((convergent)) uint WaveGetLaneIndex();
1398
1399
} // namespace hlsl
1400
#endif //_HLSL_HLSL_INTRINSICS_H_
0 commit comments