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