Float16Array

Florian Bösch pyalot at gmail.com
Wed May 17 12:14:03 UTC 2017


On Wed, May 17, 2017 at 2:05 PM, Leo Balter <leonardo.balter at gmail.com>
wrote:

> Why?
>
Adding just because it's cool is not enough to make it through the staging
> process.
>

Because Float16 is a widely used format present on nearly all computers
GPUs sold the last 10 years. It's widely used to improve performance and
memory impact, which is of particular importance on mobiles. The format
interacts with the host space when during vertex data upload, texture data
upload, uniform data upload, transform & feedback readback and texture data
readback.


> The current spec is based on IEEE 754 and matches the floating point
> specs. What would Float16 be based on?
>

IEEE 754-2008 binary16
<https://en.wikipedia.org/wiki/IEEE_floating_point#IEEE_754-2008> (which is
what GPUs universally implement).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170517/87174925/attachment.html>


More information about the es-discuss mailing list