blob: 90910ba50e9e28bf638b133484fbe2b20a1a0ab1 [file] [log] [blame]
Stephen White2fe0f4b2021-11-16 15:15:36 +00001#version 310 es
2precision mediump float;
3
4struct VertexOutputs {
5 int loc0;
6 uint loc1;
7 float loc2;
8 vec4 loc3;
9 vec4 position;
10};
11struct tint_symbol_1 {
12 int loc0;
13 uint loc1;
14 float loc2;
15 vec4 loc3;
16 vec4 position;
17};
18
19VertexOutputs tint_symbol_inner() {
20 VertexOutputs tint_symbol_2 = VertexOutputs(1, 1u, 1.0f, vec4(1.0f, 2.0f, 3.0f, 4.0f), vec4(0.0f, 0.0f, 0.0f, 0.0f));
21 return tint_symbol_2;
22}
23
24tint_symbol_1 tint_symbol() {
25 VertexOutputs inner_result = tint_symbol_inner();
26 tint_symbol_1 wrapper_result = tint_symbol_1(0, 0u, 0.0f, vec4(0.0f, 0.0f, 0.0f, 0.0f), vec4(0.0f, 0.0f, 0.0f, 0.0f));
27 wrapper_result.loc0 = inner_result.loc0;
28 wrapper_result.loc1 = inner_result.loc1;
29 wrapper_result.loc2 = inner_result.loc2;
30 wrapper_result.loc3 = inner_result.loc3;
31 wrapper_result.position = inner_result.position;
32 return wrapper_result;
33}
Stephen Whiteca4cfb92022-01-25 21:39:05 +000034layout(location = 0) flat out int loc0;
35layout(location = 1) flat out uint loc1;
Stephen White8e01c452022-01-25 19:44:14 +000036layout(location = 2) out float loc2;
37layout(location = 3) out vec4 loc3;
Stephen White2fe0f4b2021-11-16 15:15:36 +000038void main() {
39 tint_symbol_1 outputs;
40 outputs = tint_symbol();
41 loc0 = outputs.loc0;
42 loc1 = outputs.loc1;
43 loc2 = outputs.loc2;
44 loc3 = outputs.loc3;
45 gl_Position = outputs.position;
46 gl_Position.y = -gl_Position.y;
47}
48
49