Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 1 | #version 310 es |
| 2 | precision mediump float; |
| 3 | |
| 4 | uniform highp sampler3D arg_0; |
| 5 | |
| 6 | void textureDimensions_8aa4c4() { |
Stephen White | 0ff3050 | 2021-11-19 19:06:23 +0000 | [diff] [blame] | 7 | ivec3 res = textureSize(arg_0, 0); |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 8 | } |
| 9 | |
| 10 | struct tint_symbol { |
| 11 | vec4 value; |
| 12 | }; |
| 13 | |
| 14 | vec4 vertex_main_inner() { |
| 15 | textureDimensions_8aa4c4(); |
| 16 | return vec4(0.0f, 0.0f, 0.0f, 0.0f); |
| 17 | } |
| 18 | |
| 19 | tint_symbol vertex_main() { |
| 20 | vec4 inner_result = vertex_main_inner(); |
| 21 | tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f)); |
| 22 | wrapper_result.value = inner_result; |
| 23 | return wrapper_result; |
| 24 | } |
| 25 | void main() { |
| 26 | tint_symbol outputs; |
| 27 | outputs = vertex_main(); |
| 28 | gl_Position = outputs.value; |
| 29 | gl_Position.y = -gl_Position.y; |
| 30 | } |
| 31 | |
| 32 | |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 33 | #version 310 es |
| 34 | precision mediump float; |
| 35 | |
| 36 | uniform highp sampler3D arg_0; |
| 37 | |
| 38 | void textureDimensions_8aa4c4() { |
Stephen White | 0ff3050 | 2021-11-19 19:06:23 +0000 | [diff] [blame] | 39 | ivec3 res = textureSize(arg_0, 0); |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | struct tint_symbol { |
| 43 | vec4 value; |
| 44 | }; |
| 45 | |
| 46 | void fragment_main() { |
| 47 | textureDimensions_8aa4c4(); |
| 48 | return; |
| 49 | } |
| 50 | void main() { |
| 51 | fragment_main(); |
| 52 | } |
| 53 | |
| 54 | |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 55 | #version 310 es |
| 56 | precision mediump float; |
| 57 | |
| 58 | uniform highp sampler3D arg_0; |
| 59 | |
| 60 | void textureDimensions_8aa4c4() { |
Stephen White | 0ff3050 | 2021-11-19 19:06:23 +0000 | [diff] [blame] | 61 | ivec3 res = textureSize(arg_0, 0); |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | struct tint_symbol { |
| 65 | vec4 value; |
| 66 | }; |
| 67 | |
| 68 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 69 | void compute_main() { |
| 70 | textureDimensions_8aa4c4(); |
| 71 | return; |
| 72 | } |
| 73 | void main() { |
| 74 | compute_main(); |
| 75 | } |
| 76 | |
| 77 | |