| commit | b247724d8efd97a00a38559dd6a760ca916b123e | [log] [tgz] |
|---|---|---|
| author | Ryan Harrison <rharrison@chromium.org> | Thu Nov 13 10:45:02 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 13 10:45:02 2025 -0800 |
| tree | d8fa288689a18c6e22ee910448976c0c240709da | |
| parent | 9e498a2b9cf413744fb0ba7c46ed1b3db62193e3 [diff] |
[ir][val] Implement better type/struct traversal Adds in a new function WalkTypeAndMembers for walking down the type hierarchy into struct members and running an impl function on each step. This replaces a variety of existing implementations/patterns in the IR validator, standardizing onto one implementation and setting the groundwork for future refactoring that will unify all of the IO attribute validation logic into a more data driven pattern. There is some cleanups to the existing code, like re-targeting errors messages to the declaration of MSVs instead of the entry point that references them. Some places of multiple walks have been merged where it was trivial to do, though some of the more complex cases have not been merged. Future CLs will do more invasive refactoring that will clean up these instances. Bug: 455376684 Change-Id: If7ba17e6f8465bf78f172187140f44a9cfd95dab Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/273174 Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
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.