-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hlsl] Move symbol renaming into the backend
Instead of running the AST renamer transform in Dawn's D3D backends, 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 HLSL keywords local to the printer, and means we can retain the meaningful names throughout the `raise` process. Bug: 380043958 Change-Id: Ia654c14eabefe834a438bce841f83d7805602e9a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/219296 Reviewed-by: Antonio Maiorano <[email protected]> Commit-Queue: James Price <[email protected]>
- Loading branch information
Showing
5,826 changed files
with
46,341 additions
and
45,611 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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.