647a9bd7c2
(Removed one test, SkSLFPSwitchWithMultipleReturnsInside, because it was redundant with existing tests.) Change-Id: I1bfc069babdb5eb0cc515f195c3a2e307bb5871a Bug: skia:10694 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/319029 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
12 lines
249 B
GLSL
12 lines
249 B
GLSL
uniform half4 color;
|
|
|
|
in fragmentProcessor child1;
|
|
in fragmentProcessor child2;
|
|
|
|
void main() {
|
|
half4 childIn = color;
|
|
half4 childOut1 = sample(child1, childIn);
|
|
half4 childOut2 = sample(child2, childOut1);
|
|
sk_OutColor = childOut2;
|
|
}
|