blob: 34cf94a09cc5305e25d0a2c866ed5912e573c935 [file] [log] [blame]
Ben Claytonc0af5c52022-06-02 14:36:10 +00001#version 310 es
Ben Claytonf1f56b22023-03-09 19:58:23 +00002precision highp float;
Stephen Whiteca9f3862024-02-07 18:08:23 +00003precision highp int;
Ben Claytonc0af5c52022-06-02 14:36:10 +00004
5uniform highp sampler2DShadow arg_0_arg_1;
6
Natalie Chouinarde9027182024-06-13 18:50:19 +00007float textureSampleLevel_749baf() {
8 vec2 arg_2 = vec2(1.0f);
9 int arg_3 = 1;
10 float res = textureLodOffset(arg_0_arg_1, vec3(arg_2, 0.0f), float(arg_3), ivec2(1));
11 return res;
12}
13
Ben Clayton77a90cb2023-03-06 18:25:08 +000014layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
15 float inner;
16} prevent_dce;
17
Natalie Chouinarde9027182024-06-13 18:50:19 +000018struct VertexOutput {
19 vec4 pos;
20 float prevent_dce;
21};
Ben Claytonc0af5c52022-06-02 14:36:10 +000022
23void fragment_main() {
Natalie Chouinarde9027182024-06-13 18:50:19 +000024 prevent_dce.inner = textureSampleLevel_749baf();
Ben Claytonc0af5c52022-06-02 14:36:10 +000025}
26
27void main() {
28 fragment_main();
29 return;
30}
31#version 310 es
32
33uniform highp sampler2DShadow arg_0_arg_1;
34
Natalie Chouinarde9027182024-06-13 18:50:19 +000035float textureSampleLevel_749baf() {
36 vec2 arg_2 = vec2(1.0f);
37 int arg_3 = 1;
38 float res = textureLodOffset(arg_0_arg_1, vec3(arg_2, 0.0f), float(arg_3), ivec2(1));
39 return res;
40}
41
Ben Clayton77a90cb2023-03-06 18:25:08 +000042layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
43 float inner;
44} prevent_dce;
45
Natalie Chouinarde9027182024-06-13 18:50:19 +000046struct VertexOutput {
47 vec4 pos;
48 float prevent_dce;
49};
Ben Claytonc0af5c52022-06-02 14:36:10 +000050
51void compute_main() {
Natalie Chouinarde9027182024-06-13 18:50:19 +000052 prevent_dce.inner = textureSampleLevel_749baf();
Ben Claytonc0af5c52022-06-02 14:36:10 +000053}
54
55layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
56void main() {
57 compute_main();
58 return;
59}
Natalie Chouinarde9027182024-06-13 18:50:19 +000060#version 310 es
61
62layout(location = 0) flat out float prevent_dce_1;
63uniform highp sampler2DShadow arg_0_arg_1;
64
65float textureSampleLevel_749baf() {
66 vec2 arg_2 = vec2(1.0f);
67 int arg_3 = 1;
68 float res = textureLodOffset(arg_0_arg_1, vec3(arg_2, 0.0f), float(arg_3), ivec2(1));
69 return res;
70}
71
72struct VertexOutput {
73 vec4 pos;
74 float prevent_dce;
75};
76
77VertexOutput vertex_main() {
78 VertexOutput tint_symbol = VertexOutput(vec4(0.0f, 0.0f, 0.0f, 0.0f), 0.0f);
79 tint_symbol.pos = vec4(0.0f);
80 tint_symbol.prevent_dce = textureSampleLevel_749baf();
81 return tint_symbol;
82}
83
84void main() {
85 gl_PointSize = 1.0;
86 VertexOutput inner_result = vertex_main();
87 gl_Position = inner_result.pos;
88 prevent_dce_1 = inner_result.prevent_dce;
89 gl_Position.y = -(gl_Position.y);
90 gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
91 return;
92}