mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 03:39:51 +00:00
8 lines
158 B
Plaintext
8 lines
158 B
Plaintext
|
RWStructuredBuffer<uint> data;
|
||
|
|
||
|
[numthreads(32, 16, 1)]
|
||
|
void CSMain()
|
||
|
{
|
||
|
data[WaveGetLaneIndex()] = (WaveIsFirstLane()) ? WaveGetLaneCount() : 0;
|
||
|
}
|