1#version 310 es 2precision mediump float; 3precision highp int; 4 5const float _46[16] = float[](1.0, 2.0, 3.0, 4.0, 1.0, 2.0, 3.0, 4.0, 1.0, 2.0, 3.0, 4.0, 1.0, 2.0, 3.0, 4.0); 6const vec4 _76[4] = vec4[](vec4(0.0), vec4(1.0), vec4(8.0), vec4(5.0)); 7 8layout(location = 0) out float FragColor; 9layout(location = 0) flat in mediump int index; 10 11void main() 12{ 13 vec4 foobar[4] = _76; 14 vec4 baz[4] = _76; 15 FragColor = _46[index]; 16 if (index < 10) 17 { 18 FragColor += _46[index ^ 1]; 19 } 20 else 21 { 22 FragColor += _46[index & 1]; 23 } 24 if (index > 30) 25 { 26 FragColor += _76[index & 3].y; 27 } 28 else 29 { 30 FragColor += _76[index & 1].x; 31 } 32 if (index > 30) 33 { 34 foobar[1].z = 20.0; 35 } 36 FragColor += foobar[index & 3].z; 37 baz = vec4[](vec4(20.0), vec4(30.0), vec4(50.0), vec4(60.0)); 38 FragColor += baz[index & 3].z; 39} 40 41