Update wgpu to 0.18.1 (#30926)

* Update wgpu to 0.18.1

* Fix webgpu code

* tidy
This commit is contained in:
Samson 2023-12-25 08:11:37 +01:00 committed by GitHub
parent 3ce590bec4
commit 7973cb6458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 65 additions and 28 deletions

View file

@ -377,6 +377,7 @@ impl<'a> WGPU<'a> {
InstanceDescriptor {
backends: wgt::Backends::PRIMARY,
dx12_shader_compiler: Dx12Compiler::default(),
..Default::default()
},
),
adapters: Vec::new(),