commit | 8f9ea96c20734fb17d69576bfc4af7d7a224f466 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu May 04 01:31:36 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 04 01:31:36 2023 +0000 |
tree | 1749f7a142d76bf275c05d9e1f0569165b44ab16 | |
parent | 1164fe747599479e6653e59d47a462913811ecaa [diff] |
tint/writer/spirv: Add path for generating from IR This adds a GeneratorImplIr class and an option to the SPIR-V writer to use it instead of the AST-based GeneratorImpl class. The Tint exe now has a --use-ir flag which will use this path. Bug: tint:1906 Change-Id: I34cc5c7468c8faf4a808669da8c44551ad01da8f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131341 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
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.