mirror of
https://github.com/encounter/naga.git
synced 2026-03-30 11:30:15 -07:00
944a693ae5
Ensure that each distinct type occurs only once in `Module::types`, so that we can use `Eq` on `Type` or `TypeInner` for type equivalence, without being confused by differing `Handle<Type>` values that point to identical types. This removes a number of duplicate types from the ir snapshots. Fixes #1385.