diff --git a/Cargo.toml b/Cargo.toml index 000fb77..f035cf7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wgpu = "0.20.0" +wgpu = "22" euclid = "0.22.7" fontdue = "0.9.0" rect_packer = "0.2.1" diff --git a/src/lib.rs b/src/lib.rs index 8301b74..5e2dd2c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -252,6 +252,7 @@ impl Vger { depth_stencil: None, multisample: wgpu::MultisampleState::default(), multiview: None, + cache: None, }); let layout = Layout::new(CoordinateSystem::PositiveYUp); diff --git a/tests/common.rs b/tests/common.rs index 78a4096..0f79f49 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -21,6 +21,7 @@ pub async fn setup() -> (wgpu::Device, wgpu::Queue) { label: None, required_features: wgpu::Features::default(), required_limits: wgpu::Limits::default(), + memory_hints: wgpu::MemoryHints::Performance, }, trace_dir.ok().as_ref().map(std::path::Path::new), )