-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iterate over the spir-v fields to handle bitfields (#6746)
The code that implements `RWByteAddressBuffer::Store` will iterate over all of the fields in a struct to write each element in the struct. However, it does not use the "Spir-V fields", which accounts for multiple fields being packed into the same bitfield. This is fixed by using the `forEachSpirvField` function to make sure that the bitfield are correctly handled. Fixes #6483
- Loading branch information
Showing
3 changed files
with
98 additions
and
63 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