From c490084b03a456e50b5e94b83122bb54f8c0b201 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 16 Nov 2023 12:43:08 -0800 Subject: [PATCH] examples: Update `wgpu` dependency --- Cargo.toml | 2 +- examples/wgpu.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ec8282b79..cbfb69a9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ drm-fourcc = "2.2.0" font-kit = "0.11.0" image = "0.24" env_logger = "0.10" -wgpu = "0.17.1" +wgpu = "0.18.0" raqote = "0.8.2" raw-window-handle = "0.5.2" pollster = "0.3.0" diff --git a/examples/wgpu.rs b/examples/wgpu.rs index 36c362331..2d2d1186a 100644 --- a/examples/wgpu.rs +++ b/examples/wgpu.rs @@ -252,10 +252,12 @@ impl WindowHandler for Wgpu { resolve_target: None, ops: wgpu::Operations { load: wgpu::LoadOp::Clear(wgpu::Color::BLUE), - store: true, + store: wgpu::StoreOp::Store, }, })], depth_stencil_attachment: None, + timestamp_writes: None, + occlusion_query_set: None, }); }