diff --git a/release-content/migration-guides/composable_specialization.md b/release-content/migration-guides/composable_specialization.md index a40a6203c2..32138cd478 100644 --- a/release-content/migration-guides/composable_specialization.md +++ b/release-content/migration-guides/composable_specialization.md @@ -150,7 +150,7 @@ pub struct MyPipeline { // explicit fields for them here. However, real-world cases // may still need to expose them as fields to create bind groups // from, for example. - specialized_cache: SpecializedCache, + variants: SpecializedCache, } pub struct MySpecializer { @@ -187,20 +187,16 @@ impl FromWorld for MyPipeline { ..default() }, - let specialized_cache = SpecializedCache::new( + let variants = SpecializedCache::new( MySpecializer { layout: layout.clone(), layout_msaa: layout_msaa.clone(), }, - None, base_descriptor, ); Self { - layout, - layout_msaa, - vertex, - fragment, + variants } } }