commit | 1db8831be4c9c03d6fb1111014214bdfdfefe98b | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Mon Nov 14 21:20:05 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 14 21:20:05 2022 +0000 |
tree | c6ee5feb56ef60b0c8a4822da8023e8bf894f7b6 | |
parent | 208fc35471c35da87b6cb0118fb43c52f629ac8a [diff] |
tint: fold error cases into regular case in const eval binary op unit tests This is the same as was done for const eval builtin tests, allowing the error cases to be defined in the same place as we define the positive cases. Also got rid fo the 'overflow' flag, which was used to skip abstract cases in the unit test. Instead, I modified the tests to only add overflow cases if not abstract. This change will make it easier to update tests when we make Inf/NaN failures for concrete float operations. Bug: tint:1581 Bug: tint:1747 Change-Id: I7e5d8f9b24ca486aaa03a3b1bd07ccedb09411c9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110043 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@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.