commit | bc6720b9f6554c4ee4800adeb818cc007729103c | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Apr 27 19:29:45 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 27 19:29:45 2023 +0000 |
tree | 52e95a2ebf7616fe0f7c75c3a5089355ffdfbbe3 | |
parent | bc9e422728eb3c8d4d5b27d8394262066ba40cd4 [diff] |
tint/type: Remove Source from Struct & StructMember type::Struct is the base class of sem::Struct. type::Struct does not have a Declaration() member, so it does not make sense for it to have a Source. Given that sem::Struct has a Declaration() method, use this to obtain the source. Same logic applies to StructMember. Change-Id: I693f659c35216ebe5eac5ea2a5b6457773077ddc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129480 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Ben Clayton <bclayton@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.