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>
10 lines
171 B
GLSL
10 lines
171 B
GLSL
in fragmentProcessor child;
|
|
|
|
void main() {
|
|
if (child.preservesOpaqueInput) {
|
|
sk_OutColor = sample(child);
|
|
} else {
|
|
sk_OutColor = half4(1);
|
|
}
|
|
}
|