3 precision mediump float;
7 layout(location = 0) in highp float x;
8 layout(location = 1) in vec4 bigColor;
9 layout(location = 2) in vec4 BaseColor;
10 layout(location = 3) in float f;
12 layout(location = 4) flat in int Count;
13 layout(location = 5) flat in uvec4 v4;
15 layout(location = 0) out vec4 outColor;
26 switch (c) { // a no-error normal switch
44 vec4 color = BaseColor;
46 for (int i = 0; i < Count; ++i) {
53 for (int i = 0; i < 4; ++i)
58 for (int i = 0; i < 4; ++i)
59 tv4[i] = float(v4[i] * 4u);
61 outColor += vec4(sum) + tv4;
64 r.xyz = BaseColor.xyz;
66 for (int i = 0; i < Count; ++i)
69 outColor.xyz += r.xyz;
71 for (int i = 0; i < 16; i += 4)