John Kessenich | 41436ad | 2018-07-13 10:40:40 -0600 | [diff] [blame] | 1 | #version 460 |
2 | |||||
3 | float f; | ||||
4 | float h3 = 3.0; | ||||
5 | |||||
John Kessenich | b617e14 | 2018-07-19 23:10:32 -0600 | [diff] [blame] | 6 | out float cout; |
7 | in float cin; | ||||
8 | |||||
John Kessenich | 41436ad | 2018-07-13 10:40:40 -0600 | [diff] [blame] | 9 | float bar() |
10 | { | ||||
11 | h3 *= f; | ||||
12 | float g3 = 2 * h3; | ||||
John Kessenich | b617e14 | 2018-07-19 23:10:32 -0600 | [diff] [blame] | 13 | cout = g3; |
John Kessenich | 41436ad | 2018-07-13 10:40:40 -0600 | [diff] [blame] | 14 | return h3 + g3 + gl_FragCoord.y; |
15 | } |