skia2/tests/sksl/fp/GrChildProcessorSampleCoords.fp

6 lines
111 B
Plaintext
Raw Normal View History

in fragmentProcessor child;
half4 main(float2 coord) {
return sample(child) + sample(child, coord / 2);
}