2aa76823b5
floatBitsToUint was missing from our intrinsic list entirely, and u?intBitsToFloat were misspelled. These intrinsics aren't implemented in SPIR-V or Metal either, but that will be handled in followup CLs. Change-Id: Iaf9b9d5a2e46e25d41eef71903fad8bd1c177d4e Bug: skia:11071 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/342757 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2 lines
71 B
Plaintext
2 lines
71 B
Plaintext
in float a; void main() { sk_FragColor.x = half(floatBitsToUint(a)); }
|