commit | 65727b78599c0054a2034aa933557acc7e6fb9ee | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Dec 13 12:19:21 2024 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 13 12:19:21 2024 -0800 |
tree | ac5267acb01a1063642e437f0e8e259f1fdbc4f7 | |
parent | f0ed19be1f0995faa33750b2e1da069d32505c29 [diff] |
[msl] Move symbol renaming into the backend Instead of running the AST renamer transform in Dawn's Metal backend, we just modify the names when emitting them in the printer. This is a little cleaner than using a transform, as transforms cannot rename structures and struct members without requiring const_cast. This also keeps the list of MSL keywords local to the printer, and means we can retain the meaningful names throughout the `raise` process. Bug: 380043958 Change-Id: Ib5ae9b36947826928fd7babaed9892d06a8c0c29 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/219295 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: 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.