commit | 27577970ea28d378a6a91a8f4dab5bfd44750205 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Fri Jun 30 16:27:58 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 30 16:27:58 2023 +0000 |
tree | dae65d407e1a1a2f466ddc3d2ffe700c9acb60ac | |
parent | 0c5b394640207149dee81aeddfdb3b5bf4f9c7e4 [diff] |
[ir] Hookup IR to test runner This CL adds a `--use-ir` flag to the test runner which will set the expectations to `expected.ir.<type>` and pass the `--use-ir` to the tint program. The tint program is updated to pass the use_ir flag through to the MSL backend when enabled. The SPIR-V generator is updated to set a generator version number of `1` into the new IR generator to make it possible to know which version of the generator created the SPIR-V. Bug: tint:1718 Change-Id: If7584a919a916bf6fe6fdf1158bf635e15150e97 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/139880 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.