From f4a9db350fbf00a6cb13a2c030b925cfd5218ed2 Mon Sep 17 00:00:00 2001 From: Leo K Date: Tue, 24 Aug 2021 13:29:42 +0200 Subject: chore(ext/webgpu): update wgpu to 0.10.0 (#11781) Co-authored-by: Luca Casonato --- ext/webgpu/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/webgpu/buffer.rs') diff --git a/ext/webgpu/buffer.rs b/ext/webgpu/buffer.rs index e42c77598..b87982aec 100644 --- a/ext/webgpu/buffer.rs +++ b/ext/webgpu/buffer.rs @@ -55,7 +55,7 @@ pub fn op_webgpu_create_buffer( let descriptor = wgpu_core::resource::BufferDescriptor { label: args.label.map(Cow::from), size: args.size, - usage: wgpu_types::BufferUsage::from_bits(args.usage) + usage: wgpu_types::BufferUsages::from_bits(args.usage) .ok_or_else(|| type_error("usage is not valid"))?, mapped_at_creation: args.mapped_at_creation.unwrap_or(false), }; -- cgit v1.2.3