Files
wgpu/wgpu-core
Erich Gubler fd2fa777b2 fix(core): create_bind_group: sort dynamic_binding_info (#9308)
`create_bind_group` populates the `BindGroup::dynamic_binding_info`
field in the order the user specified. This later gets consumed by
validation in passes and bundles `BindGroup::validate_dynamic_bindings`,
in which `dynamic_binding_info` is assumed to be sorted in binding
order. Eek! We're validating the wrong dynamic binding bounds!

Fix this by sorting `dynamic_binding_info` before it gets put into
a `BindGroup`. Document the field with the invariant that it _must_ be
sorted according to binding index order.
2026-03-26 18:52:10 +00:00
..
2026-03-13 11:09:12 -04:00
2025-10-01 19:36:18 -04:00
2025-10-01 19:36:18 -04:00