First Commit
This commit is contained in:
7
externals/glslang/Test/hlsl.wavequery.comp
vendored
Normal file
7
externals/glslang/Test/hlsl.wavequery.comp
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
RWStructuredBuffer<uint> data;
|
||||
|
||||
[numthreads(32, 16, 1)]
|
||||
void CSMain()
|
||||
{
|
||||
data[WaveGetLaneIndex()] = (WaveIsFirstLane()) ? WaveGetLaneCount() : 0;
|
||||
}
|
||||
Reference in New Issue
Block a user