Update wgpu to 22.0
This commit is contained in:
parent
aed9a03e3c
commit
a5e69cfb5f
12 changed files with 16 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -101,5 +101,6 @@ fn build_pipeline(
|
|||
alpha_to_coverage_enabled: false,
|
||||
},
|
||||
multiview: None,
|
||||
cache: None,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue