blob: 3e2a3cc267521ba2cab233dc6448a1ae984b9efa [file] [log] [blame]
Ethan Nicholasff4fb332019-04-09 16:28:19 -04001/*
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
8in fragmentProcessor? child1;
9in fragmentProcessor? child2;
10in uniform float weight;
11
12void main() {
Brian Osman6b5dbb42020-07-15 15:31:05 -040013 sk_OutColor = mix(sample(child1), sample(child2), half(weight));
Ethan Nicholasff4fb332019-04-09 16:28:19 -040014}