commit | aa037ac489cde4ae1ec289e7927821c89d6c579d | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Jun 29 19:07:30 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 29 19:07:30 2022 +0000 |
tree | 0e1bb82519dbf324099b7f3397b6b68b999af9ce | |
parent | 7a64127a4110c6db3e4db2a9d5dd1fa337c8a64c [diff] |
tint: Refactor sem::Constant to be less memory-hungry Change sem::Constant to be an interface to the constant data. Implement this so that zero-initialized data doesn't need to allocate the full size of the type. This also makes usage a lot cleaner (no more flattened-list of elements!), and gives us a clear path for supporting constant structures if/when we want to support them. Bug: chromium:1339558 Bug: chromium:1339561 Bug: chromium:1339580 Bug: chromium:1339597 Change-Id: Ifcd456f69aee18d5b84befa896d7b0189d68c2dd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94942 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Commit-Queue: 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.