Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git] / Test / hlsl.wavevote.comp
1 RWStructuredBuffer<uint64_t> data;\r
2 \r
3 [numthreads(32, 16, 1)]\r
4 void CSMain(uint3 dti : SV_DispatchThreadID)\r
5 {\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
10 }\r