gfx-rs / wgpu

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

Consolidate bitset dependencies #4515

Open james7132 opened 2 years ago

james7132 commented 2 years ago

Inspecting the dependency tree of naga, both bitset and fixedbitset (a dependency of petgraph) are both present, and do very similar things. bitvec, and bitset, by proxy are pretty large crates for what they do, and adds quite the extra load when compiling naga.

Is it possible to replace all bitset usages in naga with fixedbitset?

teoxoy commented 10 months ago

The dx12 backend seems to also use bit-set.