John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 1 | |
John Stiles | db42bf2 | 2020-09-15 16:09:11 -0400 | [diff] [blame] | 2 | out vec4 sk_FragColor; |
John Stiles | ecd7c22 | 2021-02-08 14:20:28 -0500 | [diff] [blame] | 3 | vec4 main() { |
John Stiles | db42bf2 | 2020-09-15 16:09:11 -0400 | [diff] [blame] | 4 | float b = 2.0; |
John Stiles | 7a3f550 | 2021-03-08 13:29:15 -0500 | [diff] [blame] | 5 | float c = 3.0; |
John Stiles | 7a3f550 | 2021-03-08 13:29:15 -0500 | [diff] [blame] | 6 | float d = c; |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 7 | b++; |
8 | d++; | ||||
John Stiles | ecd7c22 | 2021-02-08 14:20:28 -0500 | [diff] [blame] | 9 | return vec4(float(b == 2.0), float(b == 3.0), float(d == 5.0), float(d == 4.0)); |
John Stiles | b024549 | 2020-09-14 17:30:13 -0400 | [diff] [blame] | 10 | } |