Closed hadronized closed 6 years ago
I had forgotten that I somehow have that information already stored, since each shader modules gives its dependencies (it’s a Vec
though, we might invest time to put that in a HashSet
instead?).
Anyway, it’s just about dedup–ing when sinking the module. It should be fixed quickly.
I like to go in a 2-step process there:
If
D
imports bothB
andC
, that both importA
, we get a duplicatedA
inD
and it’s a pretty bad situation. We need to fix this by maintaining a set of already imported items per-module.