mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
```
Ok(self.constants.fetch_or_append(
Constant {
name: None,
specialization: None,
inner,
},
span,
))
```
was called repetitively, so I added
`ConstantSolver::register_constant(&mut self, ConstantInner, Span)`
that returns Handle<Constant>.