commit | f8f852430c6b00a256686e249c03b596386bc8ee | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Jun 21 08:27:42 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 21 08:27:42 2023 +0000 |
tree | c94296acbf043cd6fd8d2ceda52e1384df0f5b59 | |
parent | ba42f5db945033f31502f32c6190b3ea12dda2ba [diff] |
[tint][ir] Refactor ToProgram Rework the implementation so that all instructions are visited once. Those that produce expression values are stored as either an AST expression node (if inlined in the single place of usage), or as the name of a let. This approach has the benefit that we do not use recursion for expression evaluation, substantially reducing the risk of stack overflow. Change-Id: I1fc0787a2e69f2a999227fe9198d5bfc442aff14 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/137165 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> 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.