-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <[email protected]> Commit-Queue: James Price <[email protected]>
- Loading branch information
Showing
624 changed files
with
2,399 additions
and
2,012 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.