skia2/tests/sksl/intrinsics/Reflect.sksl
John Stiles e3e31811e6 Broaden intrinsic tests to cover more input types.
Change-Id: I4798263318c504834f23900dbb3f5d167fd17e65
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/348887
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-30 21:03:49 +00:00

7 lines
115 B
Plaintext

in half a, b;
in half4 c, d;
void main() {
sk_FragColor.x = reflect(a, b);
sk_FragColor = reflect(c, d);
}