| commit | 25d2bc97caab223a6e75b28551f11b06522a7c34 | [log] [tgz] |
|---|---|---|
| author | Ryan Harrison <rharrison@chromium.org> | Tue Nov 18 16:14:36 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 18 16:14:36 2025 -0800 |
| tree | e32047ea55651505eb828bc6064aefd142ce2c8d | |
| parent | ab0640ff204ec0a54bd5912047baed83ce7ef184 [diff] |
[tint][val] Improve input_index_attachement validation This is less of a migration, and instead using the ValidateIOAttribute framework to test for the attribute being on function params and returns, which are not Vars. The original Var code is retained to cover MSVs and other cases like function scoped vars. This involved loosen when ValidatorIOAttributes runs to handle MSVs that are not in the In or Out address space. This will also be needed for dealing with binding_point in the future, which is why I went with a more systematic change instead of just special casing it. Bug: 455376684 Change-Id: Ie7fa4cc17d91db3afc6c0a083d0643d603c3b5c9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/274894 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.