commit | 03b708ad0ae42f365fd3d03f66c06e38b8623747 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Jun 06 17:22:49 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 06 17:22:49 2023 +0000 |
tree | 3e0793a67b588f19f46c21a8ff8ece9e6d6a7466 | |
parent | f2c55d792dfc635a4570d370a71278dbf31da1d2 [diff] |
[ir][to_program]: Implement unary & binary ops And use a basic heuristic to emit a let vs inline. Needs more work in order to ensure that the sequence of side-effecting expressions is not changed when inlining an expression. Bug: tint:1902 Change-Id: I07053e8be67bad1726febf563eb1d32d24d72b51 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/135963 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@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.