blob: a689e119750bad9ec94a8d15776dd129be5d7a4c [file] [log] [blame]
RWStructuredBuffer<uint> data;
[numthreads(32, 16, 1)]
void CSMain()
{
data[WaveGetLaneIndex()] = (WaveIsFirstLane()) ? WaveGetLaneCount() : 0;
}