commit | bc9e422728eb3c8d4d5b27d8394262066ba40cd4 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Apr 27 18:31:44 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 27 18:31:44 2023 +0000 |
tree | ab751b33ad1c07fc53c00fe3578a3209be85eedf | |
parent | 576ba1c4939288fdc1ae723f173d155a63c7c8e7 [diff] |
tint: Use type::Struct where possible type::Struct does not have an ast::Struct declaration, so use that for builtin structures. Fix up logic that assumed sem::Struct for both user-declared and builtin structures to use type::Struct instead. Assert in the sem::Struct and sem::StructMember that the AST node is not nullptr. Change-Id: Ic8fcf27d5610c814ea3b504694c6a94db6cf1191 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129483 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> 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.