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

335 lines
8.6 KiB
Plaintext
Raw Normal View History

SKIP: FAILED
#version 310 es
precision mediump float;
groupshared mat2 m00;
groupshared mat2 m01;
groupshared mat2 m02;
groupshared mat2 m03;
groupshared mat2 m04;
groupshared mat2 m05;
groupshared mat2 m06;
groupshared mat2 m07;
groupshared mat2 m08;
groupshared mat2 m09;
groupshared mat2 m10;
groupshared mat2 m11;
groupshared mat2 m12;
groupshared mat2 m13;
groupshared mat2 m14;
groupshared mat2 m15;
groupshared mat2 m16;
groupshared mat2 m17;
groupshared mat2 m18;
groupshared mat2 m19;
groupshared mat2 m20;
groupshared mat2 m21;
groupshared mat2 m22;
groupshared mat2 m23;
groupshared mat2 m24;
groupshared mat2 m25;
groupshared mat2 m26;
groupshared mat2 m27;
groupshared mat2 m28;
groupshared mat2 m29;
groupshared mat2 m30;
groupshared mat2 m31;
groupshared mat2 m32;
groupshared mat2 m33;
groupshared mat2 m34;
groupshared mat2 m35;
groupshared mat2 m36;
groupshared mat2 m37;
groupshared mat2 m38;
groupshared mat2 m39;
groupshared mat2 m40;
groupshared mat2 m41;
groupshared mat2 m42;
groupshared mat2 m43;
groupshared mat2 m44;
groupshared mat2 m45;
groupshared mat2 m46;
groupshared mat2 m47;
groupshared mat2 m48;
groupshared mat2 m49;
groupshared mat2 m50;
groupshared mat2 m51;
groupshared mat2 m52;
groupshared mat2 m53;
groupshared mat2 m54;
groupshared mat2 m55;
groupshared mat2 m56;
groupshared mat2 m57;
groupshared mat2 m58;
groupshared mat2 m59;
groupshared mat2 m60;
groupshared mat2 m61;
groupshared mat2 m62;
groupshared mat2 m63;
groupshared mat2 m64;
groupshared mat2 m65;
groupshared mat2 m66;
groupshared mat2 m67;
groupshared mat2 m68;
groupshared mat2 m69;
groupshared mat2 m70;
groupshared mat2 m71;
groupshared mat2 m72;
groupshared mat2 m73;
groupshared mat2 m74;
groupshared mat2 m75;
groupshared mat2 m76;
groupshared mat2 m77;
groupshared mat2 m78;
groupshared mat2 m79;
groupshared mat2 m80;
groupshared mat2 m81;
groupshared mat2 m82;
groupshared mat2 m83;
groupshared mat2 m84;
groupshared mat2 m85;
groupshared mat2 m86;
groupshared mat2 m87;
groupshared mat2 m88;
groupshared mat2 m89;
groupshared mat2 m90;
groupshared mat2 m91;
groupshared mat2 m92;
groupshared mat2 m93;
groupshared mat2 m94;
groupshared mat2 m95;
groupshared mat2 m96;
groupshared mat2 m97;
groupshared mat2 m98;
groupshared mat2 m99;
struct tint_symbol_2 {
uint idx;
};
void tint_symbol_inner(uint idx) {
{
m00 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m01 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m02 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m03 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m04 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m05 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m06 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m07 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m08 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m09 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m10 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m11 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m12 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m13 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m14 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m15 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m16 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m17 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m18 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m19 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m20 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m21 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m22 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m23 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m24 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m25 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m26 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m27 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m28 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m29 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m30 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m31 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m32 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m33 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m34 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m35 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m36 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m37 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m38 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m39 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m40 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m41 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m42 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m43 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m44 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m45 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m46 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m47 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m48 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m49 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m50 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m51 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m52 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m53 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m54 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m55 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m56 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m57 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m58 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m59 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m60 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m61 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m62 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m63 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m64 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m65 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m66 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m67 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m68 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m69 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m70 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m71 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m72 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m73 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m74 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m75 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m76 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m77 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m78 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m79 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m80 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m81 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m82 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m83 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m84 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m85 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m86 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m87 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m88 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m89 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m90 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m91 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m92 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m93 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m94 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m95 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m96 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m97 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m98 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
m99 = mat2(0.0f, 0.0f, 0.0f, 0.0f);
}
GroupMemoryBarrierWithGroupSync();
m00[0][0] = 1.0f;
m01[0][0] = 1.0f;
m02[0][0] = 1.0f;
m03[0][0] = 1.0f;
m04[0][0] = 1.0f;
m05[0][0] = 1.0f;
m06[0][0] = 1.0f;
m07[0][0] = 1.0f;
m08[0][0] = 1.0f;
m09[0][0] = 1.0f;
m10[0][0] = 1.0f;
m11[0][0] = 1.0f;
m12[0][0] = 1.0f;
m13[0][0] = 1.0f;
m14[0][0] = 1.0f;
m15[0][0] = 1.0f;
m16[0][0] = 1.0f;
m17[0][0] = 1.0f;
m18[0][0] = 1.0f;
m19[0][0] = 1.0f;
m20[0][0] = 1.0f;
m21[0][0] = 1.0f;
m22[0][0] = 1.0f;
m23[0][0] = 1.0f;
m24[0][0] = 1.0f;
m25[0][0] = 1.0f;
m26[0][0] = 1.0f;
m27[0][0] = 1.0f;
m28[0][0] = 1.0f;
m29[0][0] = 1.0f;
m30[0][0] = 1.0f;
m31[0][0] = 1.0f;
m32[0][0] = 1.0f;
m33[0][0] = 1.0f;
m34[0][0] = 1.0f;
m35[0][0] = 1.0f;
m36[0][0] = 1.0f;
m37[0][0] = 1.0f;
m38[0][0] = 1.0f;
m39[0][0] = 1.0f;
m40[0][0] = 1.0f;
m41[0][0] = 1.0f;
m42[0][0] = 1.0f;
m43[0][0] = 1.0f;
m44[0][0] = 1.0f;
m45[0][0] = 1.0f;
m46[0][0] = 1.0f;
m47[0][0] = 1.0f;
m48[0][0] = 1.0f;
m49[0][0] = 1.0f;
m50[0][0] = 1.0f;
m51[0][0] = 1.0f;
m52[0][0] = 1.0f;
m53[0][0] = 1.0f;
m54[0][0] = 1.0f;
m55[0][0] = 1.0f;
m56[0][0] = 1.0f;
m57[0][0] = 1.0f;
m58[0][0] = 1.0f;
m59[0][0] = 1.0f;
m60[0][0] = 1.0f;
m61[0][0] = 1.0f;
m62[0][0] = 1.0f;
m63[0][0] = 1.0f;
m64[0][0] = 1.0f;
m65[0][0] = 1.0f;
m66[0][0] = 1.0f;
m67[0][0] = 1.0f;
m68[0][0] = 1.0f;
m69[0][0] = 1.0f;
m70[0][0] = 1.0f;
m71[0][0] = 1.0f;
m72[0][0] = 1.0f;
m73[0][0] = 1.0f;
m74[0][0] = 1.0f;
m75[0][0] = 1.0f;
m76[0][0] = 1.0f;
m77[0][0] = 1.0f;
m78[0][0] = 1.0f;
m79[0][0] = 1.0f;
m80[0][0] = 1.0f;
m81[0][0] = 1.0f;
m82[0][0] = 1.0f;
m83[0][0] = 1.0f;
m84[0][0] = 1.0f;
m85[0][0] = 1.0f;
m86[0][0] = 1.0f;
m87[0][0] = 1.0f;
m88[0][0] = 1.0f;
m89[0][0] = 1.0f;
m90[0][0] = 1.0f;
m91[0][0] = 1.0f;
m92[0][0] = 1.0f;
m93[0][0] = 1.0f;
m94[0][0] = 1.0f;
m95[0][0] = 1.0f;
m96[0][0] = 1.0f;
m97[0][0] = 1.0f;
m98[0][0] = 1.0f;
m99[0][0] = 1.0f;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void tint_symbol(tint_symbol_2 tint_symbol_1) {
tint_symbol_inner(tint_symbol_1.idx);
return;
}
void main() {
tint_symbol_2 inputs;
inputs.idx = uint(gl_LocalInvocationIndex);
tint_symbol(inputs);
}
Error parsing GLSL shader:
ERROR: 0:4: '' : syntax error, unexpected IDENTIFIER
ERROR: 1 compilation errors. No code generated.