We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f1d01 commit 214d3f7Copy full SHA for 214d3f7
util/test/demos/d3d12/d3d12_subgroup_zoo.cpp
@@ -297,6 +297,17 @@ void main(uint3 inTid : SV_DispatchThreadID)
297
data.w = countbits(ballot.x) + countbits(ballot.y) + countbits(ballot.z) + countbits(ballot.w);
298
}
299
300
+ else if(IsTest(11))
301
+ {
302
+ // Broadcast functions : unit tests
303
+ if (id >= 2 && id <= 20)
304
305
+ data.x = WaveReadLaneFirst(id);
306
+ data.y = WaveReadLaneAt(id, 5);
307
+ data.z = WaveReadLaneAt(id, id);
308
+ data.w = WaveReadLaneAt(data.x, 2+id%3);
309
+ }
310
311
SetOuput(data);
312
313
0 commit comments