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
c621dcf354
skia2
/
resources
/
sksl
/
intrinsics
/
Floor.sksl
2 lines
54 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Revert "Add some SkSL intrinsics to our dm tests." This reverts commit 0492a744a52db0eaf360d2d3fce3ec5ca75dc5f0. Reason for revert: Intel HD6000 + ANGLE DX9 fails the floor() test. Original change's description: > Add some SkSL intrinsics to our dm tests. > > This CL adds dm coverage for: > - abs(half) > - sign(half) > - floor > - ceil > > And creates test output for abs(int) and sign(int); these aren't covered > by dm because they don't exist in ES2 and so are unsupported by Runtime > Effects. > > Change-Id: Ia3e660408cef50dec8fa4b6bdc12906e96179f6e > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/360419 > Reviewed-by: Ethan Nicholas <ethannicholas@google.com> > Commit-Queue: John Stiles <johnstiles@google.com> > Auto-Submit: John Stiles <johnstiles@google.com> TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com Change-Id: I62121efee9315b16e61e7d38659b6f629bdf8bd8 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/362056 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
2021-01-29 14:03:29 +00:00
in half a; void main() { sk_FragColor.x = floor(a); }
Reference in New Issue
Copy Permalink