gfx-rs / wgpu

A cross-platform, safe, pure-Rust graphics API.
https://wgpu.rs
Apache License 2.0
11.46k stars 855 forks source link

[naga] Use `HandleSet` instead of `BitSet` where appropriate #5863

Closed jimblandy closed 4 days ago

jimblandy commented 6 days ago

Use the more strictly-typed HandleSet for sets of arena handles, rather than the untyped BitSet.

This depends on #5862, so it's marked as a draft PR for now.

ErichDonGubler commented 4 days ago

This was also EZ to review. Kudos!

image

jimblandy commented 4 days ago

rebased, now that #5862 has been merged