Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git] / Test / hlsl.wavequery.comp
1 RWStructuredBuffer<uint> data;\r
2 \r
3 [numthreads(32, 16, 1)]\r
4 void CSMain()\r
5 {\r
6     data[WaveGetLaneIndex()] = (WaveIsFirstLane()) ? WaveGetLaneCount() : 0;\r
7 }\r