Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 1 | #version 310 es |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 2 | |
Ben Clayton | 5c99ed0 | 2022-01-05 20:11:00 +0000 | [diff] [blame] | 3 | float tint_radians(float param_0) { |
dan sinclair | 6cc183c | 2023-03-02 21:28:45 +0000 | [diff] [blame] | 4 | return param_0 * 0.01745329251994329547f; |
Ben Clayton | 5c99ed0 | 2022-01-05 20:11:00 +0000 | [diff] [blame] | 5 | } |
| 6 | |
| 7 | |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 8 | void main_1() { |
| 9 | float a = 0.0f; |
| 10 | float b = 0.0f; |
| 11 | a = 42.0f; |
James Price | 96a9669 | 2023-07-05 00:30:56 +0000 | [diff] [blame] | 12 | b = tint_radians(a); |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 13 | return; |
| 14 | } |
| 15 | |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 16 | void tint_symbol() { |
| 17 | main_1(); |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 18 | } |
Stephen White | e2f35ba | 2022-01-26 16:48:55 +0000 | [diff] [blame] | 19 | |
Stephen White | 0b39270 | 2022-01-28 22:36:58 +0000 | [diff] [blame] | 20 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 21 | void main() { |
| 22 | tint_symbol(); |
Stephen White | 0b39270 | 2022-01-28 22:36:58 +0000 | [diff] [blame] | 23 | return; |
Stephen White | 2fe0f4b | 2021-11-16 15:15:36 +0000 | [diff] [blame] | 24 | } |