blob: f643ca5d0c78408e0feefc6577514c826cfc0e20 [file] [log] [blame]
dan sinclaire28f1322024-09-18 23:47:12 +00001#version 460
Ben Clayton13f08902022-10-26 18:36:44 +00002
Stephen White11e786e2023-08-24 22:01:10 +00003layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
4 uvec2 inner;
5} prevent_dce;
6
Ben Clayton13f08902022-10-26 18:36:44 +00007uniform highp samplerCubeArray arg_0_1;
dan sinclaire28f1322024-09-18 23:47:12 +00008uvec2 textureDimensions_879b73() {
Ben Clayton13f08902022-10-26 18:36:44 +00009 uvec2 res = uvec2(textureSize(arg_0_1, 0).xy);
dan sinclaire28f1322024-09-18 23:47:12 +000010 return res;
Ben Clayton13f08902022-10-26 18:36:44 +000011}
12
dan sinclaire28f1322024-09-18 23:47:12 +000013struct VertexOutput {
14 vec4 pos;
15 uvec2 prevent_dce;
16};
17
Ben Clayton13f08902022-10-26 18:36:44 +000018void fragment_main() {
dan sinclaire28f1322024-09-18 23:47:12 +000019 prevent_dce.inner = textureDimensions_879b73();
Ben Clayton13f08902022-10-26 18:36:44 +000020}
21
22void main() {
23 fragment_main();
24 return;
25}
dan sinclaire28f1322024-09-18 23:47:12 +000026#version 460
Ben Clayton13f08902022-10-26 18:36:44 +000027
Stephen White11e786e2023-08-24 22:01:10 +000028layout(binding = 0, std430) buffer prevent_dce_block_ssbo {
29 uvec2 inner;
30} prevent_dce;
31
dan sinclaire28f1322024-09-18 23:47:12 +000032uniform highp samplerCubeArray arg_0_1;
33uvec2 textureDimensions_879b73() {
Ben Clayton13f08902022-10-26 18:36:44 +000034 uvec2 res = uvec2(textureSize(arg_0_1, 0).xy);
dan sinclaire28f1322024-09-18 23:47:12 +000035 return res;
Ben Clayton13f08902022-10-26 18:36:44 +000036}
37
dan sinclaire28f1322024-09-18 23:47:12 +000038struct VertexOutput {
39 vec4 pos;
40 uvec2 prevent_dce;
41};
42
Ben Clayton13f08902022-10-26 18:36:44 +000043void compute_main() {
dan sinclaire28f1322024-09-18 23:47:12 +000044 prevent_dce.inner = textureDimensions_879b73();
Ben Clayton13f08902022-10-26 18:36:44 +000045}
46
47layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
48void main() {
49 compute_main();
50 return;
51}
dan sinclaire28f1322024-09-18 23:47:12 +000052#version 460
Ben Clayton13f08902022-10-26 18:36:44 +000053
dan sinclaire28f1322024-09-18 23:47:12 +000054layout(location = 0) flat out uvec2 prevent_dce_1;
55uniform highp samplerCubeArray arg_0_1;
56uvec2 textureDimensions_879b73() {
57 uvec2 res = uvec2(textureSize(arg_0_1, 0).xy);
58 return res;
59}
Ben Clayton13f08902022-10-26 18:36:44 +000060
dan sinclaire28f1322024-09-18 23:47:12 +000061struct VertexOutput {
62 vec4 pos;
63 uvec2 prevent_dce;
64};
Ben Clayton13f08902022-10-26 18:36:44 +000065
dan sinclaire28f1322024-09-18 23:47:12 +000066VertexOutput vertex_main() {
67 VertexOutput tint_symbol = VertexOutput(vec4(0.0f, 0.0f, 0.0f, 0.0f), uvec2(0u, 0u));
68 tint_symbol.pos = vec4(0.0f);
69 tint_symbol.prevent_dce = textureDimensions_879b73();
70 return tint_symbol;
71}
72
73void main() {
74 gl_PointSize = 1.0;
75 VertexOutput inner_result = vertex_main();
76 gl_Position = inner_result.pos;
77 prevent_dce_1 = inner_result.prevent_dce;
78 gl_Position.y = -(gl_Position.y);
79 gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
80 return;
81}