commit | 4fea9d0fbbcd1a88cf59e8b39ff7064a16e46a19 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Mar 09 18:24:19 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 09 18:24:19 2023 +0000 |
tree | b26a23c6a93e703aa702597b056ac7662ed8ec0b | |
parent | 23946b36060b87a622a93e0331777c171b95d643 [diff] |
tint: Implement Switch() without recursion This removes the number of function calls made in non-optimized builds. Reduces the optimized, all-features-enabled 'tint' executable size by about 1%. This change removes the bloom filter optimizations which provided substantial performance gains with the old recursive implementation, however this still appears to be ~1% faster than the optimized version. Change-Id: Ic2bb82e9182459e37907f9e0d0b4771bde218f9f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123440 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Ben Clayton <bclayton@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.