From 1b72c1fe9ec53c481f12fed847bbbc1dca13add7 Mon Sep 17 00:00:00 2001 From: Markus Mayer Date: Fri, 11 Apr 2025 01:08:15 +0200 Subject: [PATCH 1/3] Upgrade to wgpu 25 --- Cargo.toml | 8 ++++---- examples/hello-world.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ba8558c..a6921a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,14 +7,14 @@ repository = "https://github.com/iced-rs/cryoglyph" license = "MIT OR Apache-2.0 OR Zlib" [dependencies] -wgpu = { version = "24", default-features = false, features = ["wgsl"] } -etagere = "0.2.10" +wgpu = { version = "25", default-features = false, features = ["wgsl"] } +etagere = "0.2.15" cosmic-text = "0.14" -lru = { version = "0.12.1", default-features = false } +lru = { version = "0.13", default-features = false } rustc-hash = "2.0" [dev-dependencies] -wgpu = "24" +wgpu = "25" winit = "0.30" pollster = "0.4" criterion = { version = "0.5", features = ["html_reports"] } diff --git a/examples/hello-world.rs b/examples/hello-world.rs index 51671cc..2ffe580 100644 --- a/examples/hello-world.rs +++ b/examples/hello-world.rs @@ -49,7 +49,7 @@ impl WindowState { .await .unwrap(); let (device, queue) = adapter - .request_device(&DeviceDescriptor::default(), None) + .request_device(&DeviceDescriptor::default()) .await .unwrap(); From 36459b06ca6b84cf44e91aac2e3554909fb1e74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Tue, 22 Jul 2025 02:25:09 +0200 Subject: [PATCH 2/3] Update `lru` and remove patch of `etagere` --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a6921a2..29d8656 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,9 +8,9 @@ license = "MIT OR Apache-2.0 OR Zlib" [dependencies] wgpu = { version = "25", default-features = false, features = ["wgsl"] } -etagere = "0.2.15" +etagere = "0.2" cosmic-text = "0.14" -lru = { version = "0.13", default-features = false } +lru = { version = "0.16", default-features = false } rustc-hash = "2.0" [dev-dependencies] From b36979ec183d776154bd2ad7ad79a3a571b00612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Tue, 22 Jul 2025 02:37:58 +0200 Subject: [PATCH 3/3] Update `wgpu` to `26.0` --- Cargo.toml | 5 ++--- examples/hello-world.rs | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 29d8656..60bc8c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,14 +7,13 @@ repository = "https://github.com/iced-rs/cryoglyph" license = "MIT OR Apache-2.0 OR Zlib" [dependencies] -wgpu = { version = "25", default-features = false, features = ["wgsl"] } +wgpu = { version = "26", default-features = false, features = ["wgsl"] } etagere = "0.2" cosmic-text = "0.14" lru = { version = "0.16", default-features = false } -rustc-hash = "2.0" +rustc-hash = "2" [dev-dependencies] -wgpu = "25" winit = "0.30" pollster = "0.4" criterion = { version = "0.5", features = ["html_reports"] } diff --git a/examples/hello-world.rs b/examples/hello-world.rs index 2ffe580..2338f46 100644 --- a/examples/hello-world.rs +++ b/examples/hello-world.rs @@ -203,6 +203,7 @@ impl winit::application::ApplicationHandler for Application { label: None, color_attachments: &[Some(RenderPassColorAttachment { view: &view, + depth_slice: None, resolve_target: None, ops: Operations { load: LoadOp::Clear(wgpu::Color::BLACK),