-
Notifications
You must be signed in to change notification settings - Fork 959
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[naga valid]: Clean up validation of
Statement::ImageStore
.
Ensure that the type we obtain for the `image` operand is correct: "see through" a binding array to its element type only when `image` is actually an `Access` or `AccessIndex` expression. (This changes the set of programs the validator will pass, but it turns out not to affect the set of WGSL programs that Naga will accept, since the WGSL front end is already checking the types of the `texture` arguments to `textureStore` function calls, in order to decide which overload applies.) Rename the variables to better reflect their values.
- Loading branch information
Showing
1 changed file
with
20 additions
and
12 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