From 9ef840e8e95e86ea7885700a0d439f2f571e536f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurt=20K=C3=BChnert?= Date: Fri, 10 Feb 2023 11:17:18 +0000 Subject: [PATCH] Changed &mut PipelineCache to &PipelineCache (#7598) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was missed in #7205. Should be fixed now. 😄 ## Migration Guide - `SpecializedComputePipelines::specialize` now takes a `&PipelineCache` instead of a `&mut PipelineCache` --- crates/bevy_render/src/render_resource/pipeline_specializer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/render_resource/pipeline_specializer.rs b/crates/bevy_render/src/render_resource/pipeline_specializer.rs index 10035133adcec..eba7ccb8e409c 100644 --- a/crates/bevy_render/src/render_resource/pipeline_specializer.rs +++ b/crates/bevy_render/src/render_resource/pipeline_specializer.rs @@ -63,7 +63,7 @@ impl Default for SpecializedComputePipelines { impl SpecializedComputePipelines { pub fn specialize( &mut self, - cache: &mut PipelineCache, + cache: &PipelineCache, specialize_pipeline: &S, key: S::Key, ) -> CachedComputePipelineId {