commit | 333cea405c5e41a7ee2cca852eee914fd724113a | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Apr 27 17:21:58 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 27 17:21:58 2023 +0000 |
tree | 0f9e144c345626801bbc521253932645c43d0f78 | |
parent | fe8a76cbbc447db0ebbe7da4818accca70900b13 [diff] |
tint/resolver: Clean up attribute resolving Attributes resolving was done ad-hoc throughout the resolver, with the validator ensuring that attributes were only applied to the correct nodes. The ad-hoc nature meant that attributes were inconsistently marked and resolved, and the attribute arguments were not always validated (especially when used internally). This change inlines the attribute processing into the appropriate places in the resolver, and uses a standardized error message for attributes that cannot be applied. Change-Id: Ic084820949bbf8276fb2d33c103fa29b77824a69 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129620 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@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.