mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
To make later bind group layout compatibility checks simpler (and cheaper), deduplicate them on creation. If two bind group layouts with same descriptors are requested, only one is created and the same id is returned for both.