1542db1a9b
I wasn't able to find any other test which exercised child color-filters or child blenders. (SampleWithExplicitCoord evaluates from a shader.) Change-Id: I58ecee3beca2d3dc11ded5de0eea031e1d7c3e1e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/507922 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Arman Uguray <armansito@google.com> Commit-Queue: Arman Uguray <armansito@google.com>
8 lines
160 B
Plaintext
8 lines
160 B
Plaintext
uniform shader s1, s2;
|
|
uniform colorFilter c1, c2;
|
|
uniform blender b;
|
|
|
|
half4 main(float2 xy) {
|
|
return b.eval(c1.eval(s1.eval(xy)), c2.eval(s2.eval(xy)));
|
|
}
|