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 8e3a929 commit 4d407ceCopy full SHA for 4d407ce
clang/lib/Headers/hlsl/hlsl_intrinsics.h
@@ -1471,12 +1471,12 @@ double4 trunc(double4);
1471
/// true, across all active lanes in the current wave.
1472
_HLSL_AVAILABILITY(shadermodel, 6.0)
1473
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_active_count_bits)
1474
-uint WaveActiveCountBits(bool Val);
+__attribute__((convergent)) uint WaveActiveCountBits(bool Val);
1475
1476
/// \brief Returns the index of the current lane within the current wave.
1477
1478
_HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_get_lane_index)
1479
-uint WaveGetLaneIndex();
+__attribute__((convergent)) uint WaveGetLaneIndex();
1480
1481
} // namespace hlsl
1482
#endif //_HLSL_HLSL_INTRINSICS_H_
0 commit comments