1#version 310 es 2precision mediump float; 3 4int tint_int_dot(ivec2 a, ivec2 b) { 5 return a[0]*b[0] + a[1]*b[1]; 6} 7 8void dot_fc5f7c() { 9 int res = tint_int_dot(ivec2(0, 0), ivec2(0, 0)); 10} 11 12struct tint_symbol { 13 vec4 value; 14}; 15 16vec4 vertex_main_inner() { 17 dot_fc5f7c(); 18 return vec4(0.0f, 0.0f, 0.0f, 0.0f); 19} 20 21tint_symbol vertex_main() { 22 vec4 inner_result = vertex_main_inner(); 23 tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); 24 wrapper_result.value = inner_result; 25 return wrapper_result; 26} 27void main() { 28 tint_symbol outputs; 29 outputs = vertex_main(); 30 gl_Position = outputs.value; 31 gl_Position.y = -gl_Position.y; 32} 33 34 35#version 310 es 36precision mediump float; 37 38int tint_int_dot(ivec2 a, ivec2 b) { 39 return a[0]*b[0] + a[1]*b[1]; 40} 41 42void dot_fc5f7c() { 43 int res = tint_int_dot(ivec2(0, 0), ivec2(0, 0)); 44} 45 46struct tint_symbol { 47 vec4 value; 48}; 49 50void fragment_main() { 51 dot_fc5f7c(); 52 return; 53} 54void main() { 55 fragment_main(); 56} 57 58 59#version 310 es 60precision mediump float; 61 62int tint_int_dot(ivec2 a, ivec2 b) { 63 return a[0]*b[0] + a[1]*b[1]; 64} 65 66void dot_fc5f7c() { 67 int res = tint_int_dot(ivec2(0, 0), ivec2(0, 0)); 68} 69 70struct tint_symbol { 71 vec4 value; 72}; 73 74layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; 75void compute_main() { 76 dot_fc5f7c(); 77 return; 78} 79void main() { 80 compute_main(); 81} 82 83 84