commit | 40ffda4b5eb7408972ab26329a6e1808867d914a | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Mon Feb 06 18:52:13 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 06 18:52:13 2023 +0000 |
tree | d115c73b0deabcea18e948378ff2b43765efa9c3 | |
parent | b3d5fb19bbd10e0f3082cbbe9d39365838f39f63 [diff] |
tint/const-eval: Add flag to use runtime semantics Add a flag to resolver::ConstEval to turn all overflow and range errors into warnings, and return a valid (usually zero) value instead of utils::Failure as defined by the WGSL spec for expressions evaluated at runtime. Change-Id: Icdce512306aabe717591134a1b4ba2d9c668f29c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/118640 Commit-Queue: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@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.