blob: 744d4e506abe77510512784dad5e2a7ee537f2ae [file] [log] [blame]
James Price1ca6fba2021-09-29 18:56:17 +00001groupshared float2x2 m00;
2groupshared float2x2 m01;
3groupshared float2x2 m02;
4groupshared float2x2 m03;
5groupshared float2x2 m04;
6groupshared float2x2 m05;
7groupshared float2x2 m06;
8groupshared float2x2 m07;
9groupshared float2x2 m08;
10groupshared float2x2 m09;
11groupshared float2x2 m10;
12groupshared float2x2 m11;
13groupshared float2x2 m12;
14groupshared float2x2 m13;
15groupshared float2x2 m14;
16groupshared float2x2 m15;
17groupshared float2x2 m16;
18groupshared float2x2 m17;
19groupshared float2x2 m18;
20groupshared float2x2 m19;
21groupshared float2x2 m20;
22groupshared float2x2 m21;
23groupshared float2x2 m22;
24groupshared float2x2 m23;
25groupshared float2x2 m24;
26groupshared float2x2 m25;
27groupshared float2x2 m26;
28groupshared float2x2 m27;
29groupshared float2x2 m28;
30groupshared float2x2 m29;
31groupshared float2x2 m30;
32groupshared float2x2 m31;
33groupshared float2x2 m32;
34groupshared float2x2 m33;
35groupshared float2x2 m34;
36groupshared float2x2 m35;
37groupshared float2x2 m36;
38groupshared float2x2 m37;
39groupshared float2x2 m38;
40groupshared float2x2 m39;
41groupshared float2x2 m40;
42groupshared float2x2 m41;
43groupshared float2x2 m42;
44groupshared float2x2 m43;
45groupshared float2x2 m44;
46groupshared float2x2 m45;
47groupshared float2x2 m46;
48groupshared float2x2 m47;
49groupshared float2x2 m48;
50groupshared float2x2 m49;
51groupshared float2x2 m50;
52groupshared float2x2 m51;
53groupshared float2x2 m52;
54groupshared float2x2 m53;
55groupshared float2x2 m54;
56groupshared float2x2 m55;
57groupshared float2x2 m56;
58groupshared float2x2 m57;
59groupshared float2x2 m58;
60groupshared float2x2 m59;
61groupshared float2x2 m60;
62groupshared float2x2 m61;
63groupshared float2x2 m62;
64groupshared float2x2 m63;
65groupshared float2x2 m64;
66groupshared float2x2 m65;
67groupshared float2x2 m66;
68groupshared float2x2 m67;
69groupshared float2x2 m68;
70groupshared float2x2 m69;
71groupshared float2x2 m70;
72groupshared float2x2 m71;
73groupshared float2x2 m72;
74groupshared float2x2 m73;
75groupshared float2x2 m74;
76groupshared float2x2 m75;
77groupshared float2x2 m76;
78groupshared float2x2 m77;
79groupshared float2x2 m78;
80groupshared float2x2 m79;
81groupshared float2x2 m80;
82groupshared float2x2 m81;
83groupshared float2x2 m82;
84groupshared float2x2 m83;
85groupshared float2x2 m84;
86groupshared float2x2 m85;
87groupshared float2x2 m86;
88groupshared float2x2 m87;
89groupshared float2x2 m88;
90groupshared float2x2 m89;
91groupshared float2x2 m90;
92groupshared float2x2 m91;
93groupshared float2x2 m92;
94groupshared float2x2 m93;
95groupshared float2x2 m94;
96groupshared float2x2 m95;
97groupshared float2x2 m96;
98groupshared float2x2 m97;
99groupshared float2x2 m98;
100groupshared float2x2 m99;
101
Ben Clayton9dc42ad2024-02-05 18:01:33 +0000102void tint_zero_workgroup_memory(uint local_idx) {
Antonio Maioranof5abb822024-02-28 01:01:02 +0000103 if ((local_idx < 1u)) {
Ben Claytone9f8b092022-06-01 13:14:39 +0000104 m00 = float2x2((0.0f).xx, (0.0f).xx);
105 m01 = float2x2((0.0f).xx, (0.0f).xx);
106 m02 = float2x2((0.0f).xx, (0.0f).xx);
107 m03 = float2x2((0.0f).xx, (0.0f).xx);
108 m04 = float2x2((0.0f).xx, (0.0f).xx);
109 m05 = float2x2((0.0f).xx, (0.0f).xx);
110 m06 = float2x2((0.0f).xx, (0.0f).xx);
111 m07 = float2x2((0.0f).xx, (0.0f).xx);
112 m08 = float2x2((0.0f).xx, (0.0f).xx);
113 m09 = float2x2((0.0f).xx, (0.0f).xx);
114 m10 = float2x2((0.0f).xx, (0.0f).xx);
115 m11 = float2x2((0.0f).xx, (0.0f).xx);
116 m12 = float2x2((0.0f).xx, (0.0f).xx);
117 m13 = float2x2((0.0f).xx, (0.0f).xx);
118 m14 = float2x2((0.0f).xx, (0.0f).xx);
119 m15 = float2x2((0.0f).xx, (0.0f).xx);
120 m16 = float2x2((0.0f).xx, (0.0f).xx);
121 m17 = float2x2((0.0f).xx, (0.0f).xx);
122 m18 = float2x2((0.0f).xx, (0.0f).xx);
123 m19 = float2x2((0.0f).xx, (0.0f).xx);
124 m20 = float2x2((0.0f).xx, (0.0f).xx);
125 m21 = float2x2((0.0f).xx, (0.0f).xx);
126 m22 = float2x2((0.0f).xx, (0.0f).xx);
127 m23 = float2x2((0.0f).xx, (0.0f).xx);
128 m24 = float2x2((0.0f).xx, (0.0f).xx);
129 m25 = float2x2((0.0f).xx, (0.0f).xx);
130 m26 = float2x2((0.0f).xx, (0.0f).xx);
131 m27 = float2x2((0.0f).xx, (0.0f).xx);
132 m28 = float2x2((0.0f).xx, (0.0f).xx);
133 m29 = float2x2((0.0f).xx, (0.0f).xx);
134 m30 = float2x2((0.0f).xx, (0.0f).xx);
135 m31 = float2x2((0.0f).xx, (0.0f).xx);
136 m32 = float2x2((0.0f).xx, (0.0f).xx);
137 m33 = float2x2((0.0f).xx, (0.0f).xx);
138 m34 = float2x2((0.0f).xx, (0.0f).xx);
139 m35 = float2x2((0.0f).xx, (0.0f).xx);
140 m36 = float2x2((0.0f).xx, (0.0f).xx);
141 m37 = float2x2((0.0f).xx, (0.0f).xx);
142 m38 = float2x2((0.0f).xx, (0.0f).xx);
143 m39 = float2x2((0.0f).xx, (0.0f).xx);
144 m40 = float2x2((0.0f).xx, (0.0f).xx);
145 m41 = float2x2((0.0f).xx, (0.0f).xx);
146 m42 = float2x2((0.0f).xx, (0.0f).xx);
147 m43 = float2x2((0.0f).xx, (0.0f).xx);
148 m44 = float2x2((0.0f).xx, (0.0f).xx);
149 m45 = float2x2((0.0f).xx, (0.0f).xx);
150 m46 = float2x2((0.0f).xx, (0.0f).xx);
151 m47 = float2x2((0.0f).xx, (0.0f).xx);
152 m48 = float2x2((0.0f).xx, (0.0f).xx);
153 m49 = float2x2((0.0f).xx, (0.0f).xx);
154 m50 = float2x2((0.0f).xx, (0.0f).xx);
155 m51 = float2x2((0.0f).xx, (0.0f).xx);
156 m52 = float2x2((0.0f).xx, (0.0f).xx);
157 m53 = float2x2((0.0f).xx, (0.0f).xx);
158 m54 = float2x2((0.0f).xx, (0.0f).xx);
159 m55 = float2x2((0.0f).xx, (0.0f).xx);
160 m56 = float2x2((0.0f).xx, (0.0f).xx);
161 m57 = float2x2((0.0f).xx, (0.0f).xx);
162 m58 = float2x2((0.0f).xx, (0.0f).xx);
163 m59 = float2x2((0.0f).xx, (0.0f).xx);
164 m60 = float2x2((0.0f).xx, (0.0f).xx);
165 m61 = float2x2((0.0f).xx, (0.0f).xx);
166 m62 = float2x2((0.0f).xx, (0.0f).xx);
167 m63 = float2x2((0.0f).xx, (0.0f).xx);
168 m64 = float2x2((0.0f).xx, (0.0f).xx);
169 m65 = float2x2((0.0f).xx, (0.0f).xx);
170 m66 = float2x2((0.0f).xx, (0.0f).xx);
171 m67 = float2x2((0.0f).xx, (0.0f).xx);
172 m68 = float2x2((0.0f).xx, (0.0f).xx);
173 m69 = float2x2((0.0f).xx, (0.0f).xx);
174 m70 = float2x2((0.0f).xx, (0.0f).xx);
175 m71 = float2x2((0.0f).xx, (0.0f).xx);
176 m72 = float2x2((0.0f).xx, (0.0f).xx);
177 m73 = float2x2((0.0f).xx, (0.0f).xx);
178 m74 = float2x2((0.0f).xx, (0.0f).xx);
179 m75 = float2x2((0.0f).xx, (0.0f).xx);
180 m76 = float2x2((0.0f).xx, (0.0f).xx);
181 m77 = float2x2((0.0f).xx, (0.0f).xx);
182 m78 = float2x2((0.0f).xx, (0.0f).xx);
183 m79 = float2x2((0.0f).xx, (0.0f).xx);
184 m80 = float2x2((0.0f).xx, (0.0f).xx);
185 m81 = float2x2((0.0f).xx, (0.0f).xx);
186 m82 = float2x2((0.0f).xx, (0.0f).xx);
187 m83 = float2x2((0.0f).xx, (0.0f).xx);
188 m84 = float2x2((0.0f).xx, (0.0f).xx);
189 m85 = float2x2((0.0f).xx, (0.0f).xx);
190 m86 = float2x2((0.0f).xx, (0.0f).xx);
191 m87 = float2x2((0.0f).xx, (0.0f).xx);
192 m88 = float2x2((0.0f).xx, (0.0f).xx);
193 m89 = float2x2((0.0f).xx, (0.0f).xx);
194 m90 = float2x2((0.0f).xx, (0.0f).xx);
195 m91 = float2x2((0.0f).xx, (0.0f).xx);
196 m92 = float2x2((0.0f).xx, (0.0f).xx);
197 m93 = float2x2((0.0f).xx, (0.0f).xx);
198 m94 = float2x2((0.0f).xx, (0.0f).xx);
199 m95 = float2x2((0.0f).xx, (0.0f).xx);
200 m96 = float2x2((0.0f).xx, (0.0f).xx);
201 m97 = float2x2((0.0f).xx, (0.0f).xx);
202 m98 = float2x2((0.0f).xx, (0.0f).xx);
203 m99 = float2x2((0.0f).xx, (0.0f).xx);
James Price1ca6fba2021-09-29 18:56:17 +0000204 }
205 GroupMemoryBarrierWithGroupSync();
Ben Clayton9dc42ad2024-02-05 18:01:33 +0000206}
207
208struct tint_symbol_2 {
209 uint idx : SV_GroupIndex;
210};
211
212void tint_symbol_inner(uint idx) {
213 tint_zero_workgroup_memory(idx);
James Price1ca6fba2021-09-29 18:56:17 +0000214 m00[0][0] = 1.0f;
215 m01[0][0] = 1.0f;
216 m02[0][0] = 1.0f;
217 m03[0][0] = 1.0f;
218 m04[0][0] = 1.0f;
219 m05[0][0] = 1.0f;
220 m06[0][0] = 1.0f;
221 m07[0][0] = 1.0f;
222 m08[0][0] = 1.0f;
223 m09[0][0] = 1.0f;
224 m10[0][0] = 1.0f;
225 m11[0][0] = 1.0f;
226 m12[0][0] = 1.0f;
227 m13[0][0] = 1.0f;
228 m14[0][0] = 1.0f;
229 m15[0][0] = 1.0f;
230 m16[0][0] = 1.0f;
231 m17[0][0] = 1.0f;
232 m18[0][0] = 1.0f;
233 m19[0][0] = 1.0f;
234 m20[0][0] = 1.0f;
235 m21[0][0] = 1.0f;
236 m22[0][0] = 1.0f;
237 m23[0][0] = 1.0f;
238 m24[0][0] = 1.0f;
239 m25[0][0] = 1.0f;
240 m26[0][0] = 1.0f;
241 m27[0][0] = 1.0f;
242 m28[0][0] = 1.0f;
243 m29[0][0] = 1.0f;
244 m30[0][0] = 1.0f;
245 m31[0][0] = 1.0f;
246 m32[0][0] = 1.0f;
247 m33[0][0] = 1.0f;
248 m34[0][0] = 1.0f;
249 m35[0][0] = 1.0f;
250 m36[0][0] = 1.0f;
251 m37[0][0] = 1.0f;
252 m38[0][0] = 1.0f;
253 m39[0][0] = 1.0f;
254 m40[0][0] = 1.0f;
255 m41[0][0] = 1.0f;
256 m42[0][0] = 1.0f;
257 m43[0][0] = 1.0f;
258 m44[0][0] = 1.0f;
259 m45[0][0] = 1.0f;
260 m46[0][0] = 1.0f;
261 m47[0][0] = 1.0f;
262 m48[0][0] = 1.0f;
263 m49[0][0] = 1.0f;
264 m50[0][0] = 1.0f;
265 m51[0][0] = 1.0f;
266 m52[0][0] = 1.0f;
267 m53[0][0] = 1.0f;
268 m54[0][0] = 1.0f;
269 m55[0][0] = 1.0f;
270 m56[0][0] = 1.0f;
271 m57[0][0] = 1.0f;
272 m58[0][0] = 1.0f;
273 m59[0][0] = 1.0f;
274 m60[0][0] = 1.0f;
275 m61[0][0] = 1.0f;
276 m62[0][0] = 1.0f;
277 m63[0][0] = 1.0f;
278 m64[0][0] = 1.0f;
279 m65[0][0] = 1.0f;
280 m66[0][0] = 1.0f;
281 m67[0][0] = 1.0f;
282 m68[0][0] = 1.0f;
283 m69[0][0] = 1.0f;
284 m70[0][0] = 1.0f;
285 m71[0][0] = 1.0f;
286 m72[0][0] = 1.0f;
287 m73[0][0] = 1.0f;
288 m74[0][0] = 1.0f;
289 m75[0][0] = 1.0f;
290 m76[0][0] = 1.0f;
291 m77[0][0] = 1.0f;
292 m78[0][0] = 1.0f;
293 m79[0][0] = 1.0f;
294 m80[0][0] = 1.0f;
295 m81[0][0] = 1.0f;
296 m82[0][0] = 1.0f;
297 m83[0][0] = 1.0f;
298 m84[0][0] = 1.0f;
299 m85[0][0] = 1.0f;
300 m86[0][0] = 1.0f;
301 m87[0][0] = 1.0f;
302 m88[0][0] = 1.0f;
303 m89[0][0] = 1.0f;
304 m90[0][0] = 1.0f;
305 m91[0][0] = 1.0f;
306 m92[0][0] = 1.0f;
307 m93[0][0] = 1.0f;
308 m94[0][0] = 1.0f;
309 m95[0][0] = 1.0f;
310 m96[0][0] = 1.0f;
311 m97[0][0] = 1.0f;
312 m98[0][0] = 1.0f;
313 m99[0][0] = 1.0f;
314}
315
316[numthreads(1, 1, 1)]
317void tint_symbol(tint_symbol_2 tint_symbol_1) {
318 tint_symbol_inner(tint_symbol_1.idx);
319 return;
320}