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/error.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ext/webgpu/error.rs') diff --git a/ext/webgpu/error.rs b/ext/webgpu/error.rs index 57e2e675f..c821fbf8f 100644 --- a/ext/webgpu/error.rs +++ b/ext/webgpu/error.rs @@ -8,7 +8,6 @@ use wgpu_core::binding_model::CreateBindGroupError; use wgpu_core::binding_model::CreateBindGroupLayoutError; use wgpu_core::binding_model::CreatePipelineLayoutError; use wgpu_core::binding_model::GetBindGroupLayoutError; -use wgpu_core::command::CommandAllocatorError; use wgpu_core::command::CommandEncoderError; use wgpu_core::command::ComputePassError; use wgpu_core::command::CopyError; @@ -145,14 +144,6 @@ impl From for WebGpuError { } } -impl From for WebGpuError { - fn from(err: CommandAllocatorError) -> Self { - match err { - CommandAllocatorError::Device(err) => err.into(), - } - } -} - impl From for WebGpuError { fn from(err: CopyError) -> Self { WebGpuError::Validation(err.to_string()) -- cgit v1.2.3