dawn-cmake/test/var/uses/many_workgroup_vars.wgsl

204 lines
5.3 KiB
WebGPU Shading Language

var<workgroup> m00 : mat2x2<f32>;
var<workgroup> m01 : mat2x2<f32>;
var<workgroup> m02 : mat2x2<f32>;
var<workgroup> m03 : mat2x2<f32>;
var<workgroup> m04 : mat2x2<f32>;
var<workgroup> m05 : mat2x2<f32>;
var<workgroup> m06 : mat2x2<f32>;
var<workgroup> m07 : mat2x2<f32>;
var<workgroup> m08 : mat2x2<f32>;
var<workgroup> m09 : mat2x2<f32>;
var<workgroup> m10 : mat2x2<f32>;
var<workgroup> m11 : mat2x2<f32>;
var<workgroup> m12 : mat2x2<f32>;
var<workgroup> m13 : mat2x2<f32>;
var<workgroup> m14 : mat2x2<f32>;
var<workgroup> m15 : mat2x2<f32>;
var<workgroup> m16 : mat2x2<f32>;
var<workgroup> m17 : mat2x2<f32>;
var<workgroup> m18 : mat2x2<f32>;
var<workgroup> m19 : mat2x2<f32>;
var<workgroup> m20 : mat2x2<f32>;
var<workgroup> m21 : mat2x2<f32>;
var<workgroup> m22 : mat2x2<f32>;
var<workgroup> m23 : mat2x2<f32>;
var<workgroup> m24 : mat2x2<f32>;
var<workgroup> m25 : mat2x2<f32>;
var<workgroup> m26 : mat2x2<f32>;
var<workgroup> m27 : mat2x2<f32>;
var<workgroup> m28 : mat2x2<f32>;
var<workgroup> m29 : mat2x2<f32>;
var<workgroup> m30 : mat2x2<f32>;
var<workgroup> m31 : mat2x2<f32>;
var<workgroup> m32 : mat2x2<f32>;
var<workgroup> m33 : mat2x2<f32>;
var<workgroup> m34 : mat2x2<f32>;
var<workgroup> m35 : mat2x2<f32>;
var<workgroup> m36 : mat2x2<f32>;
var<workgroup> m37 : mat2x2<f32>;
var<workgroup> m38 : mat2x2<f32>;
var<workgroup> m39 : mat2x2<f32>;
var<workgroup> m40 : mat2x2<f32>;
var<workgroup> m41 : mat2x2<f32>;
var<workgroup> m42 : mat2x2<f32>;
var<workgroup> m43 : mat2x2<f32>;
var<workgroup> m44 : mat2x2<f32>;
var<workgroup> m45 : mat2x2<f32>;
var<workgroup> m46 : mat2x2<f32>;
var<workgroup> m47 : mat2x2<f32>;
var<workgroup> m48 : mat2x2<f32>;
var<workgroup> m49 : mat2x2<f32>;
var<workgroup> m50 : mat2x2<f32>;
var<workgroup> m51 : mat2x2<f32>;
var<workgroup> m52 : mat2x2<f32>;
var<workgroup> m53 : mat2x2<f32>;
var<workgroup> m54 : mat2x2<f32>;
var<workgroup> m55 : mat2x2<f32>;
var<workgroup> m56 : mat2x2<f32>;
var<workgroup> m57 : mat2x2<f32>;
var<workgroup> m58 : mat2x2<f32>;
var<workgroup> m59 : mat2x2<f32>;
var<workgroup> m60 : mat2x2<f32>;
var<workgroup> m61 : mat2x2<f32>;
var<workgroup> m62 : mat2x2<f32>;
var<workgroup> m63 : mat2x2<f32>;
var<workgroup> m64 : mat2x2<f32>;
var<workgroup> m65 : mat2x2<f32>;
var<workgroup> m66 : mat2x2<f32>;
var<workgroup> m67 : mat2x2<f32>;
var<workgroup> m68 : mat2x2<f32>;
var<workgroup> m69 : mat2x2<f32>;
var<workgroup> m70 : mat2x2<f32>;
var<workgroup> m71 : mat2x2<f32>;
var<workgroup> m72 : mat2x2<f32>;
var<workgroup> m73 : mat2x2<f32>;
var<workgroup> m74 : mat2x2<f32>;
var<workgroup> m75 : mat2x2<f32>;
var<workgroup> m76 : mat2x2<f32>;
var<workgroup> m77 : mat2x2<f32>;
var<workgroup> m78 : mat2x2<f32>;
var<workgroup> m79 : mat2x2<f32>;
var<workgroup> m80 : mat2x2<f32>;
var<workgroup> m81 : mat2x2<f32>;
var<workgroup> m82 : mat2x2<f32>;
var<workgroup> m83 : mat2x2<f32>;
var<workgroup> m84 : mat2x2<f32>;
var<workgroup> m85 : mat2x2<f32>;
var<workgroup> m86 : mat2x2<f32>;
var<workgroup> m87 : mat2x2<f32>;
var<workgroup> m88 : mat2x2<f32>;
var<workgroup> m89 : mat2x2<f32>;
var<workgroup> m90 : mat2x2<f32>;
var<workgroup> m91 : mat2x2<f32>;
var<workgroup> m92 : mat2x2<f32>;
var<workgroup> m93 : mat2x2<f32>;
var<workgroup> m94 : mat2x2<f32>;
var<workgroup> m95 : mat2x2<f32>;
var<workgroup> m96 : mat2x2<f32>;
var<workgroup> m97 : mat2x2<f32>;
var<workgroup> m98 : mat2x2<f32>;
var<workgroup> m99 : mat2x2<f32>;
[[stage(compute), workgroup_size(1)]]
fn tint_symbol([[builtin(local_invocation_index)]] idx : u32) {
m00[0][0] = 1.0;
m01[0][0] = 1.0;
m02[0][0] = 1.0;
m03[0][0] = 1.0;
m04[0][0] = 1.0;
m05[0][0] = 1.0;
m06[0][0] = 1.0;
m07[0][0] = 1.0;
m08[0][0] = 1.0;
m09[0][0] = 1.0;
m10[0][0] = 1.0;
m11[0][0] = 1.0;
m12[0][0] = 1.0;
m13[0][0] = 1.0;
m14[0][0] = 1.0;
m15[0][0] = 1.0;
m16[0][0] = 1.0;
m17[0][0] = 1.0;
m18[0][0] = 1.0;
m19[0][0] = 1.0;
m20[0][0] = 1.0;
m21[0][0] = 1.0;
m22[0][0] = 1.0;
m23[0][0] = 1.0;
m24[0][0] = 1.0;
m25[0][0] = 1.0;
m26[0][0] = 1.0;
m27[0][0] = 1.0;
m28[0][0] = 1.0;
m29[0][0] = 1.0;
m30[0][0] = 1.0;
m31[0][0] = 1.0;
m32[0][0] = 1.0;
m33[0][0] = 1.0;
m34[0][0] = 1.0;
m35[0][0] = 1.0;
m36[0][0] = 1.0;
m37[0][0] = 1.0;
m38[0][0] = 1.0;
m39[0][0] = 1.0;
m40[0][0] = 1.0;
m41[0][0] = 1.0;
m42[0][0] = 1.0;
m43[0][0] = 1.0;
m44[0][0] = 1.0;
m45[0][0] = 1.0;
m46[0][0] = 1.0;
m47[0][0] = 1.0;
m48[0][0] = 1.0;
m49[0][0] = 1.0;
m50[0][0] = 1.0;
m51[0][0] = 1.0;
m52[0][0] = 1.0;
m53[0][0] = 1.0;
m54[0][0] = 1.0;
m55[0][0] = 1.0;
m56[0][0] = 1.0;
m57[0][0] = 1.0;
m58[0][0] = 1.0;
m59[0][0] = 1.0;
m60[0][0] = 1.0;
m61[0][0] = 1.0;
m62[0][0] = 1.0;
m63[0][0] = 1.0;
m64[0][0] = 1.0;
m65[0][0] = 1.0;
m66[0][0] = 1.0;
m67[0][0] = 1.0;
m68[0][0] = 1.0;
m69[0][0] = 1.0;
m70[0][0] = 1.0;
m71[0][0] = 1.0;
m72[0][0] = 1.0;
m73[0][0] = 1.0;
m74[0][0] = 1.0;
m75[0][0] = 1.0;
m76[0][0] = 1.0;
m77[0][0] = 1.0;
m78[0][0] = 1.0;
m79[0][0] = 1.0;
m80[0][0] = 1.0;
m81[0][0] = 1.0;
m82[0][0] = 1.0;
m83[0][0] = 1.0;
m84[0][0] = 1.0;
m85[0][0] = 1.0;
m86[0][0] = 1.0;
m87[0][0] = 1.0;
m88[0][0] = 1.0;
m89[0][0] = 1.0;
m90[0][0] = 1.0;
m91[0][0] = 1.0;
m92[0][0] = 1.0;
m93[0][0] = 1.0;
m94[0][0] = 1.0;
m95[0][0] = 1.0;
m96[0][0] = 1.0;
m97[0][0] = 1.0;
m98[0][0] = 1.0;
m99[0][0] = 1.0;
}