1 RWStructuredBuffer<uint64_t> data;
\r
3 [numthreads(32, 16, 1)]
\r
4 void CSMain(uint3 dti : SV_DispatchThreadID)
\r
6 data[dti.x] = WaveActiveBallot(WaveActiveAnyTrue(dti.x == 0));
\r
7 data[dti.y] = WaveActiveBallot(WaveActiveAllTrue(dti.y == 0));
\r
8 data[dti.z] = WaveActiveBallot(WaveActiveAllEqualBool(dti.z == 0));
\r
9 data[dti.z] = WaveActiveBallot(WaveActiveAllEqual(dti.z));
\r