skia2/tests/sksl/runtime/SampleWithExplicitCoord.rte
Brian Osman 977feec5d7 Add .rte -> .skvm unit test framework
Includes a handful of test cases to exercise the system

Change-Id: I98e73a8bca063f475d2ddb51778e395697392ddb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/346637
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-12-22 17:59:42 +00:00

5 lines
79 B
Plaintext

uniform shader child;
half4 main(float2 p) {
return sample(child, p.yx);
}