Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 1 | #version 310 es |
| 2 | |
Stephen White | 1d04cf8 | 2023-01-07 17:19:21 +0000 | [diff] [blame] | 3 | layout(rgba32i) uniform highp writeonly iimage2D arg_0; |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 4 | void textureStore_969534() { |
| 5 | int arg_1 = 1; |
Stephen White | 987902e | 2022-12-15 16:42:28 +0000 | [diff] [blame] | 6 | ivec4 arg_2 = ivec4(1); |
Stephen White | 1d04cf8 | 2023-01-07 17:19:21 +0000 | [diff] [blame] | 7 | imageStore(arg_0, ivec2(arg_1, 0), arg_2); |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 8 | } |
| 9 | |
| 10 | vec4 vertex_main() { |
| 11 | textureStore_969534(); |
| 12 | return vec4(0.0f); |
| 13 | } |
| 14 | |
| 15 | void main() { |
| 16 | gl_PointSize = 1.0; |
| 17 | vec4 inner_result = vertex_main(); |
| 18 | gl_Position = inner_result; |
| 19 | gl_Position.y = -(gl_Position.y); |
| 20 | gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); |
| 21 | return; |
| 22 | } |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 23 | #version 310 es |
Ben Clayton | f1f56b2 | 2023-03-09 19:58:23 +0000 | [diff] [blame] | 24 | precision highp float; |
Stephen White | ca9f386 | 2024-02-07 18:08:23 +0000 | [diff] [blame] | 25 | precision highp int; |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 26 | |
Stephen White | 1d04cf8 | 2023-01-07 17:19:21 +0000 | [diff] [blame] | 27 | layout(rgba32i) uniform highp writeonly iimage2D arg_0; |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 28 | void textureStore_969534() { |
| 29 | int arg_1 = 1; |
Stephen White | 987902e | 2022-12-15 16:42:28 +0000 | [diff] [blame] | 30 | ivec4 arg_2 = ivec4(1); |
Stephen White | 1d04cf8 | 2023-01-07 17:19:21 +0000 | [diff] [blame] | 31 | imageStore(arg_0, ivec2(arg_1, 0), arg_2); |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | void fragment_main() { |
| 35 | textureStore_969534(); |
| 36 | } |
| 37 | |
| 38 | void main() { |
| 39 | fragment_main(); |
| 40 | return; |
| 41 | } |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 42 | #version 310 es |
| 43 | |
Stephen White | 1d04cf8 | 2023-01-07 17:19:21 +0000 | [diff] [blame] | 44 | layout(rgba32i) uniform highp writeonly iimage2D arg_0; |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 45 | void textureStore_969534() { |
| 46 | int arg_1 = 1; |
Stephen White | 987902e | 2022-12-15 16:42:28 +0000 | [diff] [blame] | 47 | ivec4 arg_2 = ivec4(1); |
Stephen White | 1d04cf8 | 2023-01-07 17:19:21 +0000 | [diff] [blame] | 48 | imageStore(arg_0, ivec2(arg_1, 0), arg_2); |
Ben Clayton | c0af5c5 | 2022-06-02 14:36:10 +0000 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | void compute_main() { |
| 52 | textureStore_969534(); |
| 53 | } |
| 54 | |
| 55 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 56 | void main() { |
| 57 | compute_main(); |
| 58 | return; |
| 59 | } |