wgpu/naga/tests
Jim Blandy 98c4d6f42e
[naga] Permit only structs as binding array elements. (#6333)
Require `T` to be a struct in `binding_array<T, ...>`; do not permit
arrays.

In #5428, the validator was changed to accept binding array types that
the SPIR-V backend couldn't properly emit. Specifically, the validator
was changed to accept `binding_array<array<T>>`, but the SPIR-V
backend wasn't changed to wrap the binding array elements in a SPIR-V
struct type, as Vulkan requires. So the type would be accepted by the
validator, and then rejected by the backend.
2024-09-27 17:00:21 -07:00
..
in [naga] Handle phony statements properly by treating them as named expressions (#6328) 2024-09-27 14:52:53 -07:00
out [naga] Handle phony statements properly by treating them as named expressions (#6328) 2024-09-27 14:52:53 -07:00
example_wgsl.rs [naga] Make the example_wgsl test build without wgsl-in feature. 2023-11-24 13:17:30 +01:00
root.rs [naga] Test CallResult and AtomicResult population. 2024-05-28 09:17:16 +02:00
snapshots.rs [naga] Handle phony statements properly by treating them as named expressions (#6328) 2024-09-27 14:52:53 -07:00
spirv_capabilities.rs Add cfg_alias indirection to Naga's x_out features 2024-07-09 09:53:39 +02:00
validation.rs [naga] Permit only structs as binding array elements. (#6333) 2024-09-27 17:00:21 -07:00
wgsl_errors.rs [naga wgsl] Impl const_assert (#6198) 2024-09-02 17:37:04 +00:00