From 9def85304266605d2bd93fc4bf33a294db67f3d3 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Tue, 23 Jul 2024 23:16:06 -0400 Subject: [PATCH] =?UTF-8?q?build:=20upgrade=20`wgpu`=200.20=20=E2=86=92=20?= =?UTF-8?q?22=20(#106)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 4 ++-- src/cache.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9e70036..47048df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/grovesNL/glyphon" license = "MIT OR Apache-2.0 OR Zlib" [dependencies] -wgpu = { version = "0.20", default-features = false, features = ["wgsl"] } +wgpu = { version = "22", default-features = false, features = ["wgsl"] } etagere = "0.2.10" cosmic-text = "0.12" lru = { version = "0.12.1", default-features = false } @@ -16,5 +16,5 @@ rustc-hash = "2.0" [dev-dependencies] winit = { version = "0.29.10", features = ["rwh_05"] } -wgpu = { version = "0.20", default-features = true } +wgpu = { version = "22", default-features = true } pollster = "0.3.0" diff --git a/src/cache.rs b/src/cache.rs index 1acd514..46dbd25 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -239,6 +239,7 @@ impl Cache { depth_stencil: depth_stencil.clone(), multisample, multiview: None, + cache: None, })); cache.push((format, multisample, depth_stencil, pipeline.clone()));