blob: 6179c933678f68e13d998616b86486f8f65336b2 [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 fragmentProcessor lerp;
11
12void main() {
13 sk_OutColor = mix(child1 != null ? process(child1) : sk_InColor,
14 child2 != null ? process(child2) : sk_InColor,
15 process(lerp).r);
16}