commit | 4dc97b404b088d3094f04ed08ec002e53d29f220 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Jun 20 16:59:34 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 20 16:59:34 2023 +0000 |
tree | af3893b4579af13c23aec782fdf8aca439008062 | |
parent | dd1271dc86794d0c0ae7e2a9eac44e6a8a035071 [diff] |
[ir] Add a helper for creating struct types Add a method that can create a struct from a vector or initializer list of member descriptors, which specify the name, type, and optional attributes of each member. The alignment, size, and offset of each member is automatically inferred based on their types. Bug: tint:1718 Change-Id: I0edd581e25c35bbea1ca28207a7daf9213ce5b31 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/138005 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@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.