build: upgrade wgpu 0.20 → 22 (#106)

This commit is contained in:
Erich Gubler 2024-07-23 23:16:06 -04:00 committed by GitHub
parent 47f4126f99
commit 9def853042
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -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"

View file

@ -239,6 +239,7 @@ impl Cache {
depth_stencil: depth_stencil.clone(),
multisample,
multiview: None,
cache: None,
}));
cache.push((format, multisample, depth_stencil, pipeline.clone()));