1 2out vec4 sk_FragColor; 3uniform vec4 colorGreen; 4struct S { 5 float f; 6 float af[5]; 7 vec4 h4; 8 vec4 ah4[5]; 9}; 10vec4 globalVar; 11S globalStruct; 12void keepAlive_vh(inout float h) { 13} 14void keepAlive_vf(inout float f) { 15} 16void keepAlive_vi(inout int i) { 17} 18void assignToFunctionParameter_vif(int x, inout float y) { 19 x = 1; 20 y = 1.0; 21} 22vec4 main() { 23 int i = 0; 24 ivec4 i4 = ivec4(1, 2, 3, 4); 25 mat3 f3x3 = mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0); 26 vec4 x; 27 x.w = 0.0; 28 x.yx = vec2(0.0); 29 int ai[1]; 30 ai[0] = 0; 31 ivec4 ai4[1]; 32 ai4[0] = ivec4(1, 2, 3, 4); 33 mat3 ah3x3[1]; 34 ah3x3[0] = mat3(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0); 35 vec4 af4[1]; 36 af4[0].x = 0.0; 37 af4[0].ywxz = vec4(1.0); 38 S s; 39 s.f = 0.0; 40 s.af[1] = 0.0; 41 s.h4.zxy = vec3(9.0); 42 s.ah4[2].yw = vec2(5.0); 43 globalVar = vec4(0.0); 44 globalStruct.f = 0.0; 45 assignToFunctionParameter_vif(0, f3x3[0].x); 46 float l; 47 l = 0.0; 48 ai[0] += ai4[0].x; 49 s.f = 1.0; 50 s.af[0] = 2.0; 51 s.h4 = vec4(1.0); 52 s.ah4[0] = vec4(2.0); 53 float repeat; 54 repeat = (repeat = 1.0); 55 keepAlive_vf(af4[0].x); 56 keepAlive_vh(ah3x3[0][0].x); 57 keepAlive_vi(i); 58 keepAlive_vi(i4.y); 59 keepAlive_vi(ai[0]); 60 keepAlive_vi(ai4[0].x); 61 keepAlive_vh(x.y); 62 keepAlive_vf(s.f); 63 keepAlive_vh(l); 64 keepAlive_vf(f3x3[0].x); 65 keepAlive_vf(repeat); 66 return colorGreen; 67} 68