commit | f2380f4ad82b7cb9c16b2ab529189cf1eed8c246 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Nov 08 14:54:52 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 08 14:54:52 2023 +0000 |
tree | 0386171dac3bb1910cb23e0ac9fb24785784cdd9 | |
parent | 7bb9bde5768d048a0a0925ea3a5fe8e00becc9a6 [diff] |
dawn.node: Throw TypeError on non-finite floating points This is to match the WebIDL rules that floating point values should be finite, unless they are "unrestricted" (which is never the case in WebGPU at the moment). This fixes a bunch of overridable constant tests for NaNs and Inifinity. Bug: None Change-Id: I0482dc51fa607ee89394f7b9f10493168da368dc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159364 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.