diff --git a/Cargo.toml b/Cargo.toml index 135e7a9..f3fce07 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ documentation = "https://docs.rs/wgpu_glyph" readme = "README.md" [dependencies] -wgpu = "0.17" +wgpu = "0.18" glyph_brush = "0.7" log = "0.4" diff --git a/examples/clipping.rs b/examples/clipping.rs index 6651681..40cb43e 100644 --- a/examples/clipping.rs +++ b/examples/clipping.rs @@ -122,11 +122,13 @@ fn main() -> Result<(), Box> { a: 1.0, }, ), - store: true, + store: wgpu::StoreOp::Store, }, }, )], depth_stencil_attachment: None, + timestamp_writes: None, + occlusion_query_set: None, }, ); } diff --git a/examples/depth.rs b/examples/depth.rs index 2972733..bca9742 100644 --- a/examples/depth.rs +++ b/examples/depth.rs @@ -113,11 +113,13 @@ fn main() -> Result<(), Box> { a: 1.0, }, ), - store: true, + store: wgpu::StoreOp::Store, }, }, )], depth_stencil_attachment: None, + timestamp_writes: None, + occlusion_query_set: None, }, ); } @@ -162,11 +164,11 @@ fn main() -> Result<(), Box> { view: &depth_view, depth_ops: Some(wgpu::Operations { load: wgpu::LoadOp::Clear(0.0), - store: true, + store: wgpu::StoreOp::Store, }), stencil_ops: Some(wgpu::Operations { load: wgpu::LoadOp::Clear(0), - store: true, + store: wgpu::StoreOp::Store, }), }, size.width, diff --git a/examples/hello.rs b/examples/hello.rs index ff96592..05c8331 100644 --- a/examples/hello.rs +++ b/examples/hello.rs @@ -122,11 +122,13 @@ fn main() -> Result<(), Box> { a: 1.0, }, ), - store: true, + store: wgpu::StoreOp::Store, }, }, )], depth_stencil_attachment: None, + timestamp_writes: None, + occlusion_query_set: None, }, ); } diff --git a/src/pipeline.rs b/src/pipeline.rs index e2d3daf..df9eb3b 100644 --- a/src/pipeline.rs +++ b/src/pipeline.rs @@ -387,10 +387,12 @@ fn draw( resolve_target: None, ops: wgpu::Operations { load: wgpu::LoadOp::Load, - store: true, + store: wgpu::StoreOp::Store, }, })], depth_stencil_attachment, + timestamp_writes: None, + occlusion_query_set: None, }); render_pass.set_pipeline(&pipeline.raw);