-
Notifications
You must be signed in to change notification settings - Fork 948
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[naga spv-in] Support atomics in fields of global structs
Handle SPIR-V input that performs atomic operations on structs that have more than one field. Track which fields of which struct types are used by atomic operations on which global variables, and then give those global variables new types in which exactly those fields have had their `Scalar` leaf types changed to `Atomic`. Add snapshot tests. Co-authored-by: Jim Blandy <[email protected]>
- Loading branch information
Showing
8 changed files
with
267 additions
and
109 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
Oops, something went wrong.