blob: 6179c933678f68e13d998616b86486f8f65336b2 [file] [log] [blame]
/*
* Copyright 2019 Google LLC.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
in fragmentProcessor? child1;
in fragmentProcessor? child2;
in fragmentProcessor lerp;
void main() {
sk_OutColor = mix(child1 != null ? process(child1) : sk_InColor,
child2 != null ? process(child2) : sk_InColor,
process(lerp).r);
}