dan sinclair | a5afb1f | 2024-09-20 04:34:34 +0000 | [diff] [blame] | 1 | #version 310 es |
| 2 | precision highp float; |
| 3 | precision highp int; |
dan sinclair | 6e93ca5 | 2024-08-28 23:58:04 +0000 | [diff] [blame] | 4 | |
dan sinclair | a5afb1f | 2024-09-20 04:34:34 +0000 | [diff] [blame] | 5 | layout(binding = 0, std430) |
James Price | 71c1d54 | 2024-10-10 23:01:19 +0000 | [diff] [blame] | 6 | buffer prevent_dce_block_1_ssbo { |
| 7 | ivec4 inner; |
dan sinclair | a5afb1f | 2024-09-20 04:34:34 +0000 | [diff] [blame] | 8 | } v; |
| 9 | layout(binding = 0, rgba8i) uniform highp readonly iimage2DArray arg_0; |
| 10 | ivec4 textureLoad_582015() { |
| 11 | ivec2 v_1 = ivec2(ivec2(1)); |
| 12 | ivec4 res = imageLoad(arg_0, ivec3(v_1, int(1))); |
| 13 | return res; |
| 14 | } |
| 15 | void main() { |
James Price | 71c1d54 | 2024-10-10 23:01:19 +0000 | [diff] [blame] | 16 | v.inner = textureLoad_582015(); |
dan sinclair | a5afb1f | 2024-09-20 04:34:34 +0000 | [diff] [blame] | 17 | } |
| 18 | #version 310 es |
dan sinclair | 6e93ca5 | 2024-08-28 23:58:04 +0000 | [diff] [blame] | 19 | |
dan sinclair | a5afb1f | 2024-09-20 04:34:34 +0000 | [diff] [blame] | 20 | layout(binding = 0, std430) |
James Price | 71c1d54 | 2024-10-10 23:01:19 +0000 | [diff] [blame] | 21 | buffer prevent_dce_block_1_ssbo { |
| 22 | ivec4 inner; |
dan sinclair | a5afb1f | 2024-09-20 04:34:34 +0000 | [diff] [blame] | 23 | } v; |
| 24 | layout(binding = 0, rgba8i) uniform highp readonly iimage2DArray arg_0; |
| 25 | ivec4 textureLoad_582015() { |
| 26 | ivec2 v_1 = ivec2(ivec2(1)); |
| 27 | ivec4 res = imageLoad(arg_0, ivec3(v_1, int(1))); |
| 28 | return res; |
| 29 | } |
| 30 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 31 | void main() { |
James Price | 71c1d54 | 2024-10-10 23:01:19 +0000 | [diff] [blame] | 32 | v.inner = textureLoad_582015(); |
dan sinclair | a5afb1f | 2024-09-20 04:34:34 +0000 | [diff] [blame] | 33 | } |
| 34 | #version 310 es |
| 35 | |
| 36 | |
| 37 | struct VertexOutput { |
| 38 | vec4 pos; |
| 39 | ivec4 prevent_dce; |
| 40 | }; |
| 41 | |
| 42 | layout(binding = 0, rgba8i) uniform highp readonly iimage2DArray arg_0; |
| 43 | layout(location = 0) flat out ivec4 vertex_main_loc0_Output; |
| 44 | ivec4 textureLoad_582015() { |
| 45 | ivec2 v = ivec2(ivec2(1)); |
| 46 | ivec4 res = imageLoad(arg_0, ivec3(v, int(1))); |
| 47 | return res; |
| 48 | } |
| 49 | VertexOutput vertex_main_inner() { |
| 50 | VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0)); |
| 51 | tint_symbol.pos = vec4(0.0f); |
| 52 | tint_symbol.prevent_dce = textureLoad_582015(); |
| 53 | return tint_symbol; |
| 54 | } |
| 55 | void main() { |
| 56 | VertexOutput v_1 = vertex_main_inner(); |
| 57 | gl_Position = v_1.pos; |
| 58 | gl_Position[1u] = -(gl_Position.y); |
| 59 | gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); |
| 60 | vertex_main_loc0_Output = v_1.prevent_dce; |
| 61 | gl_PointSize = 1.0f; |
| 62 | } |