SPV: Implement Vulkan 1.1 features and extensions.
This commit is contained in:
7
Test/hlsl.wavequery.comp
Normal file
7
Test/hlsl.wavequery.comp
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