commit | 24b81095d4bd758b87fb548c2ca1a3dcae2a2d74 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Nov 21 16:02:47 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 21 16:02:47 2023 +0000 |
tree | 3c97f735a0c1d6eb3e41e9bf6c5cdaefb11c34a6 | |
parent | 5a6e057ce8b490a9189ac80d0f2ee49a51e73a96 [diff] |
[ir] Move use of IR decision higher in the stack. This CL changes the tint writers to no longer except the `tint_use_ir` flag. Instead, there is a version of `Generate` which accepts the IR and one which accepts a Program. The caller is now responsible for passing the correct params. This decouples the WGSL reader from the IR writers which was required in order to use the program to IR functionality. Bug: tint:1718 Change-Id: If70a3f6c92a80adeee3094e485132ca33803817f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/161742 Reviewed-by: Ben Clayton <bclayton@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 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.