mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
98c4d6f42e
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. |
||
---|---|---|
.. | ||
in | ||
out | ||
example_wgsl.rs | ||
root.rs | ||
snapshots.rs | ||
spirv_capabilities.rs | ||
validation.rs | ||
wgsl_errors.rs |