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