From 2caa9fc5e5923c1d827d177c3619cab7e9885b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Fri, 27 Oct 2023 03:13:18 +0200 Subject: [PATCH] Update `wgpu` to `0.18` --- Cargo.toml | 2 +- examples/hello-world.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7227d53..85ad5b3 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 = "0.17.1" +wgpu = "0.18" etagere = "0.2.8" cosmic-text = "0.10" lru = "0.11" diff --git a/examples/hello-world.rs b/examples/hello-world.rs index b3cde3f..1d4d2b7 100644 --- a/examples/hello-world.rs +++ b/examples/hello-world.rs @@ -130,10 +130,12 @@ async fn run() { resolve_target: None, ops: Operations { load: LoadOp::Clear(wgpu::Color::BLACK), - store: true, + store: wgpu::StoreOp::Store, }, })], depth_stencil_attachment: None, + timestamp_writes: None, + occlusion_query_set: None, }); text_renderer.render(&atlas, &mut pass).unwrap();