Skip to content

Commit fb87fc1

Browse files
committed
Add tests for subgroup sie 4
1 parent 0b6527d commit fb87fc1

40 files changed

Lines changed: 10770 additions & 0 deletions

test/Feature/MaximalReconvergence/cts/tests/4/test_2_4_7_13_0.test

Lines changed: 119 additions & 0 deletions
Large diffs are not rendered by default.

test/Feature/MaximalReconvergence/cts/tests/4/test_2_4_7_13_1.test

Lines changed: 130 additions & 0 deletions
Large diffs are not rendered by default.

test/Feature/MaximalReconvergence/cts/tests/4/test_2_4_7_13_2.test

Lines changed: 108 additions & 0 deletions
Large diffs are not rendered by default.

test/Feature/MaximalReconvergence/cts/tests/4/test_2_4_7_13_3.test

Lines changed: 146 additions & 0 deletions
Large diffs are not rendered by default.

test/Feature/MaximalReconvergence/cts/tests/4/test_2_4_7_13_4.test

Lines changed: 117 additions & 0 deletions
Large diffs are not rendered by default.

test/Feature/MaximalReconvergence/cts/tests/4/test_2_4_7_13_5.test

Lines changed: 115 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
#--- source.hlsl
2+
3+
#define THREADS_X 7
4+
#define THREADS_Y 13
5+
6+
StructuredBuffer<uint> InputA : register(t0);
7+
RWStructuredBuffer<uint4> OutputB : register(u1);
8+
9+
bool testBit(uint4 mask, uint bit) { return ((mask[bit / 32] >> (bit % 32)) & 1) != 0; }
10+
11+
12+
[numthreads(THREADS_X, THREADS_Y, 1)]
13+
void main(uint gIndex : SV_GroupIndex)
14+
{
15+
int outLoc = 0;
16+
int invocationStride = 91;
17+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
18+
if (WaveIsFirstLane()) {
19+
OutputB[(outLoc++)*invocationStride + gIndex].x = 0x10002;
20+
if (WaveIsFirstLane()) {
21+
}
22+
for (int loopIdx0 = 0;
23+
loopIdx0 < WaveGetLaneIndex() + 1;
24+
loopIdx0++) {
25+
}
26+
OutputB[(outLoc++)*invocationStride + gIndex].x = 0x10007;
27+
}
28+
{
29+
int loopIdx0 = 0;
30+
do {
31+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
32+
if (WaveIsFirstLane()) {
33+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
34+
}
35+
if (WaveIsFirstLane()) {
36+
OutputB[(outLoc++)*invocationStride + gIndex].x = 0x1000f;
37+
break;
38+
}
39+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
40+
return;
41+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
42+
{
43+
int loopIdx1 = 0;
44+
do {
45+
loopIdx1++;
46+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
47+
} while (loopIdx1 < InputA[3]);
48+
}
49+
loopIdx0++;
50+
} while (true);
51+
}
52+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
53+
if (testBit(uint4(0xb4c5b9ab, 0xa9bf7d1c, 0x1f014b71, 0x2d365a16), WaveGetLaneIndex())) {
54+
if (WaveIsFirstLane()) {
55+
OutputB[(outLoc++)*invocationStride + gIndex].x = 0x1001c;
56+
}
57+
OutputB[(outLoc++)*invocationStride + gIndex] = WaveActiveBallot(true);
58+
}
59+
}
60+
61+
//--- pipeline.yaml
62+
63+
---
64+
65+
Shaders:
66+
- Stage: Compute
67+
Entry: main
68+
DispatchSize: [1, 1, 1]
69+
Buffers:
70+
- Name: InputA
71+
Format: UInt32
72+
Data: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90 ]
73+
- Name: OutputB
74+
Format: UInt32
75+
Stride: 16
76+
FillSize: 14560
77+
- Name: ExpectedOutputB
78+
Format: UInt32
79+
Stride: 16
80+
Data: [ 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 7, 0, 0, 0, 7, 0, 0, 0, 7, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0, 65538, 0, 0, 0, 7, 0, 0, 0, 7, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 65543, 0, 0, 0,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space: 0
93+
VulkanBinding:
94+
Binding: 0
95+
- Name: OutputB
96+
Kind: RWStructuredBuffer
97+
DirectXBinding:
98+
Register: 1
99+
Space: 0
100+
VulkanBinding:
101+
Binding: 1
102+
103+
...
104+
#--- end
105+
# UNSUPPORTED: Vulkan && !VK_KHR_shader_maximal_reconvergence
106+
107+
# Bug: Some wave operations are not yet implemented.
108+
# XFAIL: Clang
109+
110+
# RUN: split-file %s %t
111+
# RUN: %dxc_target -T cs_6_5 -fspv-enable-maximal-reconvergence -Fo %t.o %t/source.hlsl
112+
# RUN: %offloader %t/pipeline.yaml %t.o

test/Feature/MaximalReconvergence/cts/tests/4/test_2_4_7_13_7.test

Lines changed: 123 additions & 0 deletions
Large diffs are not rendered by default.

test/Feature/MaximalReconvergence/cts/tests/4/test_3_4_7_13_0.test

Lines changed: 150 additions & 0 deletions
Large diffs are not rendered by default.

test/Feature/MaximalReconvergence/cts/tests/4/test_3_4_7_13_1.test

Lines changed: 146 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)