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