diff options
Diffstat (limited to 'ext/webgpu/error.rs')
-rw-r--r-- | ext/webgpu/error.rs | 9 |
1 files changed, 0 insertions, 9 deletions
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<CreateRenderBundleError> for WebGpuError { } } -impl From<CommandAllocatorError> for WebGpuError { - fn from(err: CommandAllocatorError) -> Self { - match err { - CommandAllocatorError::Device(err) => err.into(), - } - } -} - impl From<CopyError> for WebGpuError { fn from(err: CopyError) -> Self { WebGpuError::Validation(err.to_string()) |