d85d720800
This CL also removes some vestiges of the kSampler type, which hasn't been used in .fp files for a long time. Change-Id: Iaca1d0c6e77ad2df2b6c5dacd1c68079d6dd5cf2 Bug: skia:11854 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/398738 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
15 lines
379 B
GLSL
15 lines
379 B
GLSL
in fragmentProcessor fp1, fp2, fp3;
|
|
|
|
half4 main() {
|
|
const float2 coords = float2(0.5);
|
|
const float3x3 xform = float3x3(2);
|
|
const half4 inColor = half4(0.75);
|
|
|
|
return sample(fp1) *
|
|
sample(fp2, coords) *
|
|
sample(fp3, xform) *
|
|
sample(fp1, inColor) *
|
|
sample(fp2, coords, inColor) *
|
|
sample(fp3, xform, inColor);
|
|
}
|