6dc5265ae6
Change-Id: I83a38f2c953a560fea3483e95e31df532b90773e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317456 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
8 lines
174 B
GLSL
8 lines
174 B
GLSL
uniform half4 color;
|
|
in fragmentProcessor child1;
|
|
in fragmentProcessor child2;
|
|
|
|
void main() {
|
|
sk_OutColor = sample(child2, color * sample(child1, color * half4(0.5)));
|
|
}
|