* Update SPIRV libraries - Update `spirv-cross` - Update `spirv-tools` - Update `glslang` `spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions). * Add SPIRV-Tools dependency to matinfo
8 lines
158 B
Plaintext
8 lines
158 B
Plaintext
RWStructuredBuffer<uint> data;
|
|
|
|
[numthreads(32, 16, 1)]
|
|
void CSMain()
|
|
{
|
|
data[WaveGetLaneIndex()] = (WaveIsFirstLane()) ? WaveGetLaneCount() : 0;
|
|
}
|