Changed &mut PipelineCache to &PipelineCache (#7598)

This was missed in #7205.
Should be fixed now. 😄 

## Migration Guide
- `SpecializedComputePipelines::specialize` now takes a `&PipelineCache` instead of a `&mut PipelineCache`
This commit is contained in:
Kurt Kühnert 2023-02-10 11:17:18 +00:00
parent cd447fb4e6
commit 9ef840e8e9

View file

@ -63,7 +63,7 @@ impl<S: SpecializedComputePipeline> Default for SpecializedComputePipelines<S> {
impl<S: SpecializedComputePipeline> SpecializedComputePipelines<S> {
pub fn specialize(
&mut self,
cache: &mut PipelineCache,
cache: &PipelineCache,
specialize_pipeline: &S,
key: S::Key,
) -> CachedComputePipelineId {