Corentin Wallez | b32c22c | 2021-07-26 09:12:57 +0000 | [diff] [blame] | 1 | #include <metal_stdlib> |
| 2 | |
| 3 | using namespace metal; |
Ben Clayton | 5c99ed0 | 2022-01-05 20:11:00 +0000 | [diff] [blame] | 4 | |
| 5 | float tint_degrees(float param_0) { |
| 6 | return param_0 * 57.295779513082322865; |
| 7 | } |
| 8 | |
Corentin Wallez | b32c22c | 2021-07-26 09:12:57 +0000 | [diff] [blame] | 9 | void main_1() { |
| 10 | float a = 0.0f; |
| 11 | float b = 0.0f; |
| 12 | a = 42.0f; |
| 13 | float const x_11 = a; |
Ben Clayton | 5c99ed0 | 2022-01-05 20:11:00 +0000 | [diff] [blame] | 14 | b = tint_degrees(x_11); |
Corentin Wallez | b32c22c | 2021-07-26 09:12:57 +0000 | [diff] [blame] | 15 | return; |
| 16 | } |
| 17 | |
| 18 | kernel void tint_symbol() { |
| 19 | main_1(); |
| 20 | return; |
| 21 | } |
| 22 | |