mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
When `VaryingContext::validate` discovers that it needs to examine each member of a struct, pass the type as an argument to `validate` and `validate_impl`, rather than mutating `self.ty` on each iteration of the loop. This matches the way we're handling the binding, and avoids stashing per-iteration state in a surprising place. This should have no effect on execution.