commit | e9cd719e224eefafd9e16e6bd18750d723d11214 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Jun 29 19:47:49 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 29 19:47:49 2023 +0000 |
tree | 0157d56f976a3ea09b523222060d8e6e0693f49a | |
parent | 60508b8c2142afad3c050fb5c94d73fb4dbad34b [diff] |
[ir][spirv-writer] Rework remaining unit tests Switch almost all tests over to using the `Generate()` and EXPECT_INST helpers. Fixup some cases of invalid IR that this caught, and tweak some tests to make sure we're testing the right thing in the presence of sanitizer transforms. The `Type` and `Constant` tests still use the PIMPL methods directly, as types and constants are emitted lazily on first use. Make almost all of the PIMPL methods private. Bug: tint:1906 Change-Id: Ia52700e8298b5da5d22770a3949509082cb208bb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/139543 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@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.