skia2/tests/sksl/intrinsics/Length.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
103 B
Plaintext

in half a;
in half4 b;
void main() {
sk_FragColor.x = length(a);
sk_FragColor.x = length(b);
}