blob: 4e80bc2ba365c9c17d35373681acef6f7e7217e6 [file] [log] [blame]
dan sinclair196326c2024-12-06 12:40:09 +00001//
2// fragment_main
3//
dan sinclair1e0c2012024-09-04 01:56:01 +00004#version 310 es
5precision highp float;
6precision highp int;
dan sinclair6e93ca52024-08-28 23:58:04 +00007
dan sinclairf15c1c32024-09-05 21:41:20 +00008void log_697e1d() {
9 vec4 res = vec4(0.0f);
10}
11void main() {
12 log_697e1d();
13}
dan sinclair196326c2024-12-06 12:40:09 +000014//
15// compute_main
16//
dan sinclairf15c1c32024-09-05 21:41:20 +000017#version 310 es
18
19void log_697e1d() {
20 vec4 res = vec4(0.0f);
21}
22layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
23void main() {
24 log_697e1d();
25}
dan sinclair196326c2024-12-06 12:40:09 +000026//
27// vertex_main
28//
dan sinclairf15c1c32024-09-05 21:41:20 +000029#version 310 es
30
dan sinclaira561b982024-09-05 21:56:28 +000031
dan sinclair1e0c2012024-09-04 01:56:01 +000032struct VertexOutput {
33 vec4 pos;
34};
35
36void log_697e1d() {
37 vec4 res = vec4(0.0f);
38}
dan sinclairf15c1c32024-09-05 21:41:20 +000039VertexOutput vertex_main_inner() {
James Price49631b52024-12-13 13:34:39 -080040 VertexOutput v = VertexOutput(vec4(0.0f));
41 v.pos = vec4(0.0f);
dan sinclair1e0c2012024-09-04 01:56:01 +000042 log_697e1d();
James Price49631b52024-12-13 13:34:39 -080043 return v;
dan sinclair1e0c2012024-09-04 01:56:01 +000044}
dan sinclair1e0c2012024-09-04 01:56:01 +000045void main() {
dan sinclairf15c1c32024-09-05 21:41:20 +000046 gl_Position = vertex_main_inner().pos;
James Price25379d32024-11-28 21:23:47 +000047 gl_Position.y = -(gl_Position.y);
48 gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
dan sinclairf15c1c32024-09-05 21:41:20 +000049 gl_PointSize = 1.0f;
dan sinclair1e0c2012024-09-04 01:56:01 +000050}