This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
skia2
Watch
1
Star
0
Fork
0
You've already forked skia2
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
0c5c3498bc
skia2
/
tests
/
sksl
/
intrinsics
/
Dot.sksl
7 lines
109 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 19:53:17 +00:00
in half a, b;
in half4 c, d;
void main() {
sk_FragColor.x = dot(a, b);
sk_FragColor.x = dot(c, d);
}
Reference in New Issue
Copy Permalink