Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPIRV] Round the stride to be a multiple of the alignment.
We currently pick the size of a struct to be the stride of the array elements when doing scalar layout. This is not correct because this could cause the struct to not be correctly aligned. This is fixed by rounding the size of the struct up to a mutliple of the alignment. Fixes #6947
- Loading branch information