Commit 5bc3c9d
committed
[naga] Constrain
In `naga::valid::expression`, require that
`Expression::ImageLoad::array_index` be either `i32` or `u32`, not
just an integral type of any size.textureLoad array index args to i32 or u32.1 parent 7c5f705 commit 5bc3c9d
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
| 651 | + | |
| 652 | + | |
657 | 653 | | |
658 | 654 | | |
659 | 655 | | |
| |||
0 commit comments