• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RWStructuredBuffer<uint> data;
2
3[numthreads(32, 16, 1)]
4void CSMain()
5{
6    data[WaveGetLaneIndex()] = (WaveIsFirstLane()) ? WaveGetLaneCount() : 0;
7}
8