Closed teoxoy closed 1 week ago
At a high level this PR adds a new trait that children of the device implement which we use for device mismatch validation.
The validation now relies on Arc::ptr_eq rather than IDs.
Arc::ptr_eq
Part of https://github.com/gfx-rs/wgpu/issues/5121.
PR doesn't need to be squashed, each commit builds by itself.
At a high level this PR adds a new trait that children of the device implement which we use for device mismatch validation.
The validation now relies on
Arc::ptr_eq
rather than IDs.Part of https://github.com/gfx-rs/wgpu/issues/5121.
PR doesn't need to be squashed, each commit builds by itself.