Ethan Nicholas | ff4fb33 | 2019-04-09 16:28:19 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 Google LLC. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
Brian Osman | 4d3bfc5 | 2020-12-23 14:14:09 -0500 | [diff] [blame] | 8 | in fragmentProcessor child1; |
| 9 | in fragmentProcessor child2; |
Ethan Nicholas | ff4fb33 | 2019-04-09 16:28:19 -0400 | [diff] [blame] | 10 | in uniform float weight; |
| 11 | |
John Stiles | e28f509 | 2020-12-14 14:01:44 -0500 | [diff] [blame] | 12 | half4 main() { |
| 13 | return mix(sample(child1), sample(child2), half(weight)); |
Ethan Nicholas | ff4fb33 | 2019-04-09 16:28:19 -0400 | [diff] [blame] | 14 | } |