blob: eccaa59aa6a575661ea7f8bd88fde3bea585c136 [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 +00008layout(binding = 0, std430)
James Price2312bfa2024-12-13 09:53:34 -08009buffer f_prevent_dce_block_ssbo {
James Price71c1d542024-10-10 23:01:19 +000010 vec4 inner;
dan sinclairf15c1c32024-09-05 21:41:20 +000011} v;
12vec4 log_3da25a() {
13 vec4 res = vec4(0.0f);
14 return res;
15}
16void main() {
James Price71c1d542024-10-10 23:01:19 +000017 v.inner = log_3da25a();
dan sinclairf15c1c32024-09-05 21:41:20 +000018}
dan sinclair196326c2024-12-06 12:40:09 +000019//
20// compute_main
21//
dan sinclairf15c1c32024-09-05 21:41:20 +000022#version 310 es
23
24layout(binding = 0, std430)
James Price71c1d542024-10-10 23:01:19 +000025buffer prevent_dce_block_1_ssbo {
26 vec4 inner;
dan sinclairf15c1c32024-09-05 21:41:20 +000027} v;
28vec4 log_3da25a() {
29 vec4 res = vec4(0.0f);
30 return res;
31}
32layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
33void main() {
James Price71c1d542024-10-10 23:01:19 +000034 v.inner = log_3da25a();
dan sinclairf15c1c32024-09-05 21:41:20 +000035}
dan sinclair196326c2024-12-06 12:40:09 +000036//
37// vertex_main
38//
dan sinclairf15c1c32024-09-05 21:41:20 +000039#version 310 es
40
dan sinclaira561b982024-09-05 21:56:28 +000041
dan sinclair1e0c2012024-09-04 01:56:01 +000042struct VertexOutput {
43 vec4 pos;
44 vec4 prevent_dce;
45};
46
James Priceced63662024-12-13 10:48:26 -080047layout(location = 0) flat out vec4 tint_interstage_location0;
dan sinclair1e0c2012024-09-04 01:56:01 +000048vec4 log_3da25a() {
49 vec4 res = vec4(0.0f);
50 return res;
51}
dan sinclairf15c1c32024-09-05 21:41:20 +000052VertexOutput vertex_main_inner() {
James Price49631b52024-12-13 13:34:39 -080053 VertexOutput v = VertexOutput(vec4(0.0f), vec4(0.0f));
54 v.pos = vec4(0.0f);
55 v.prevent_dce = log_3da25a();
56 return v;
dan sinclair1e0c2012024-09-04 01:56:01 +000057}
dan sinclair1e0c2012024-09-04 01:56:01 +000058void main() {
James Price49631b52024-12-13 13:34:39 -080059 VertexOutput v_1 = vertex_main_inner();
60 gl_Position = v_1.pos;
James Price25379d32024-11-28 21:23:47 +000061 gl_Position.y = -(gl_Position.y);
62 gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
James Price49631b52024-12-13 13:34:39 -080063 tint_interstage_location0 = v_1.prevent_dce;
dan sinclairf15c1c32024-09-05 21:41:20 +000064 gl_PointSize = 1.0f;
dan sinclair1e0c2012024-09-04 01:56:01 +000065}