James Price | 1ca6fba | 2021-09-29 18:56:17 +0000 | [diff] [blame] | 1 | groupshared float2x2 m00; |
| 2 | groupshared float2x2 m01; |
| 3 | groupshared float2x2 m02; |
| 4 | groupshared float2x2 m03; |
| 5 | groupshared float2x2 m04; |
| 6 | groupshared float2x2 m05; |
| 7 | groupshared float2x2 m06; |
| 8 | groupshared float2x2 m07; |
| 9 | groupshared float2x2 m08; |
| 10 | groupshared float2x2 m09; |
| 11 | groupshared float2x2 m10; |
| 12 | groupshared float2x2 m11; |
| 13 | groupshared float2x2 m12; |
| 14 | groupshared float2x2 m13; |
| 15 | groupshared float2x2 m14; |
| 16 | groupshared float2x2 m15; |
| 17 | groupshared float2x2 m16; |
| 18 | groupshared float2x2 m17; |
| 19 | groupshared float2x2 m18; |
| 20 | groupshared float2x2 m19; |
| 21 | groupshared float2x2 m20; |
| 22 | groupshared float2x2 m21; |
| 23 | groupshared float2x2 m22; |
| 24 | groupshared float2x2 m23; |
| 25 | groupshared float2x2 m24; |
| 26 | groupshared float2x2 m25; |
| 27 | groupshared float2x2 m26; |
| 28 | groupshared float2x2 m27; |
| 29 | groupshared float2x2 m28; |
| 30 | groupshared float2x2 m29; |
| 31 | groupshared float2x2 m30; |
| 32 | groupshared float2x2 m31; |
| 33 | groupshared float2x2 m32; |
| 34 | groupshared float2x2 m33; |
| 35 | groupshared float2x2 m34; |
| 36 | groupshared float2x2 m35; |
| 37 | groupshared float2x2 m36; |
| 38 | groupshared float2x2 m37; |
| 39 | groupshared float2x2 m38; |
| 40 | groupshared float2x2 m39; |
| 41 | groupshared float2x2 m40; |
| 42 | groupshared float2x2 m41; |
| 43 | groupshared float2x2 m42; |
| 44 | groupshared float2x2 m43; |
| 45 | groupshared float2x2 m44; |
| 46 | groupshared float2x2 m45; |
| 47 | groupshared float2x2 m46; |
| 48 | groupshared float2x2 m47; |
| 49 | groupshared float2x2 m48; |
| 50 | groupshared float2x2 m49; |
| 51 | groupshared float2x2 m50; |
| 52 | groupshared float2x2 m51; |
| 53 | groupshared float2x2 m52; |
| 54 | groupshared float2x2 m53; |
| 55 | groupshared float2x2 m54; |
| 56 | groupshared float2x2 m55; |
| 57 | groupshared float2x2 m56; |
| 58 | groupshared float2x2 m57; |
| 59 | groupshared float2x2 m58; |
| 60 | groupshared float2x2 m59; |
| 61 | groupshared float2x2 m60; |
| 62 | groupshared float2x2 m61; |
| 63 | groupshared float2x2 m62; |
| 64 | groupshared float2x2 m63; |
| 65 | groupshared float2x2 m64; |
| 66 | groupshared float2x2 m65; |
| 67 | groupshared float2x2 m66; |
| 68 | groupshared float2x2 m67; |
| 69 | groupshared float2x2 m68; |
| 70 | groupshared float2x2 m69; |
| 71 | groupshared float2x2 m70; |
| 72 | groupshared float2x2 m71; |
| 73 | groupshared float2x2 m72; |
| 74 | groupshared float2x2 m73; |
| 75 | groupshared float2x2 m74; |
| 76 | groupshared float2x2 m75; |
| 77 | groupshared float2x2 m76; |
| 78 | groupshared float2x2 m77; |
| 79 | groupshared float2x2 m78; |
| 80 | groupshared float2x2 m79; |
| 81 | groupshared float2x2 m80; |
| 82 | groupshared float2x2 m81; |
| 83 | groupshared float2x2 m82; |
| 84 | groupshared float2x2 m83; |
| 85 | groupshared float2x2 m84; |
| 86 | groupshared float2x2 m85; |
| 87 | groupshared float2x2 m86; |
| 88 | groupshared float2x2 m87; |
| 89 | groupshared float2x2 m88; |
| 90 | groupshared float2x2 m89; |
| 91 | groupshared float2x2 m90; |
| 92 | groupshared float2x2 m91; |
| 93 | groupshared float2x2 m92; |
| 94 | groupshared float2x2 m93; |
| 95 | groupshared float2x2 m94; |
| 96 | groupshared float2x2 m95; |
| 97 | groupshared float2x2 m96; |
| 98 | groupshared float2x2 m97; |
| 99 | groupshared float2x2 m98; |
| 100 | groupshared float2x2 m99; |
| 101 | |
Ben Clayton | 9dc42ad | 2024-02-05 18:01:33 +0000 | [diff] [blame] | 102 | void tint_zero_workgroup_memory(uint local_idx) { |
Antonio Maiorano | f5abb82 | 2024-02-28 01:01:02 +0000 | [diff] [blame] | 103 | if ((local_idx < 1u)) { |
Ben Clayton | e9f8b09 | 2022-06-01 13:14:39 +0000 | [diff] [blame] | 104 | 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 Price | 1ca6fba | 2021-09-29 18:56:17 +0000 | [diff] [blame] | 204 | } |
| 205 | GroupMemoryBarrierWithGroupSync(); |
Ben Clayton | 9dc42ad | 2024-02-05 18:01:33 +0000 | [diff] [blame] | 206 | } |
| 207 | |
| 208 | struct tint_symbol_2 { |
| 209 | uint idx : SV_GroupIndex; |
| 210 | }; |
| 211 | |
| 212 | void tint_symbol_inner(uint idx) { |
| 213 | tint_zero_workgroup_memory(idx); |
James Price | 1ca6fba | 2021-09-29 18:56:17 +0000 | [diff] [blame] | 214 | 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)] |
| 317 | void tint_symbol(tint_symbol_2 tint_symbol_1) { |
| 318 | tint_symbol_inner(tint_symbol_1.idx); |
| 319 | return; |
| 320 | } |