Update wgpu to 22.0

This commit is contained in:
Héctor Ramón Jiménez 2024-07-19 19:10:23 +02:00
parent aed9a03e3c
commit a5e69cfb5f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
12 changed files with 16 additions and 2 deletions

View file

@ -282,6 +282,7 @@ impl Pipeline {
wgpu::PipelineCompilationOptions::default(),
}),
multiview: None,
cache: None,
});
let depth_pipeline = DepthPipeline::new(
@ -518,6 +519,7 @@ impl DepthPipeline {
wgpu::PipelineCompilationOptions::default(),
}),
multiview: None,
cache: None,
});
Self {

View file

@ -102,6 +102,8 @@ pub fn main() -> Result<(), winit::error::EventLoopError> {
required_features: adapter_features
& wgpu::Features::default(),
required_limits: wgpu::Limits::default(),
memory_hints:
wgpu::MemoryHints::MemoryUsage,
},
None,
)

View file

@ -101,5 +101,6 @@ fn build_pipeline(
alpha_to_coverage_enabled: false,
},
multiview: None,
cache: None,
})
}