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
bfe0d37c69
skia2
/
resources
/
sksl
/
intrinsics
/
Normalize.sksl
7 lines
107 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;
in half4 b;
void main() {
sk_FragColor.x = normalize(a);
sk_FragColor = normalize(b);
}
Reference in New Issue
Copy Permalink