|author||dan sinclair <firstname.lastname@example.org>||Fri Mar 17 15:08:06 2023 +0000|
|committer||Dawn LUCI CQ <email@example.com>||Fri Mar 17 15:08:06 2023 +0000|
Support float values where the zeros change the exponent When underflow is detected in float parsing, WGSL returns `0.0`. Currently, if the number of `0`s following a `.` shifts the exponent from a positive to a negative we were not correctly identify the underflow and returning 0. This CL updates the float parsing to detect undeflow in this case and return `0.0` as expected. Bug: tint:1863 Change-Id: I164063cebf70f825fdf2753dff8a4f016939c38e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124341 Commit-Queue: David Neto <firstname.lastname@example.org> Reviewed-by: David Neto <email@example.com> Auto-Submit: Dan Sinclair <firstname.lastname@example.org> Kokoro: Kokoro <email@example.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements
webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.