commit | 34d46731bbc4270086e585186a8cda9e5ed9e02f | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Aug 02 16:52:25 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 02 16:52:25 2022 +0000 |
tree | d25a31b127745835b0764048cfe3c959a2947535 | |
parent | bdc619f5efcbfdd06b9fe011922b9f63c6df3858 [diff] |
tint: Replace VectorRef with ConstVectorRef. The elements of the VectorRef is now immutable, but can be moved, if the caller relinquishes ownership by explicitly using std::move() at the callsite. Also add utils::Empty as a way of signalling that a vector should be constructed with no elements. This is helpful in templated code where {} cannot be used due to overload ambiguity. Change-Id: I24a50a13956b0692771a8bc9046336ad46261562 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97842 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: 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.