blob: 7b372444cefdbe388cc98a9d9501d7d4b63b8930 [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 samplerCubeShadow arg_0_arg_1;
6
Natalie Chouinarde9027182024-06-13 18:50:19 +00007float textureSampleCompareLevel_1568e3() {
8 vec3 arg_2 = vec3(1.0f);
9 float arg_3 = 1.0f;
10 float res = texture(arg_0_arg_1, vec4(arg_2, arg_3));
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 = textureSampleCompareLevel_1568e3();
Ben Claytonc0af5c52022-06-02 14:36:10 +000025}
26
27void main() {
28 fragment_main();
29 return;
30}
31#version 310 es
32
33uniform highp samplerCubeShadow arg_0_arg_1;
34
Natalie Chouinarde9027182024-06-13 18:50:19 +000035float textureSampleCompareLevel_1568e3() {
36 vec3 arg_2 = vec3(1.0f);
37 float arg_3 = 1.0f;
38 float res = texture(arg_0_arg_1, vec4(arg_2, arg_3));
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 = textureSampleCompareLevel_1568e3();
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 samplerCubeShadow arg_0_arg_1;
64
65float textureSampleCompareLevel_1568e3() {
66 vec3 arg_2 = vec3(1.0f);
67 float arg_3 = 1.0f;
68 float res = texture(arg_0_arg_1, vec4(arg_2, arg_3));
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 = textureSampleCompareLevel_1568e3();
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}