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
9c19b9f1ff
skia2
/
resources
/
sksl
/
intrinsics
/
FloatBitsToInt.sksl
2 lines
75 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Change sksl tests to avoid SPIR-V validation errors 'in' variables without locations aren't allowed. Use uniforms instead. Bug: skia:11738 Change-Id: Ic066106deb7409cff154b4be7cfb3e03a7025c7d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/385000 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
2021-03-15 18:58:57 +00:00
uniform float a; void main() { sk_FragColor.x = half(floatBitsToInt(a)); }
Reference in New Issue
Copy Permalink