commit | fe19fee3ea3ddf7d0ef1995f7e89739870c20a94 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Feb 27 16:02:02 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 27 16:02:02 2023 +0000 |
tree | ed08b05506f3b95df436ee873a0b6133dfe634d0 | |
parent | 35df626efa2ac803d9a578594914d26dc4f27ab6 [diff] |
tint/const-eval: Fix runtime semantics for (x % 0) The result of integer mod is defined to be zero when the RHS is zero and for (MOST_NEGATIVE / -1). Floating point is expected to be implementation defined, so also return zero in this case. Change-Id: Ic25250d637ccb93ba62a5fc0bcebe670d5cd4e3b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/121544 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Auto-Submit: James Price <jrprice@google.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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.