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>
9 lines
205 B
GLSL
9 lines
205 B
GLSL
uniform half4 color;
|
|
in fragmentProcessor? child;
|
|
|
|
void main(float2 coord) {
|
|
float3x3 matrix = float3x3(color.a);
|
|
sk_OutColor = sample(child, matrix);
|
|
sk_OutColor = sample(child, coord / 2);
|
|
}
|