From aa946345248b18dfbfdd3ee2384a4d1990bb4be5 Mon Sep 17 00:00:00 2001 From: Alphyr <47725341+a1phyr@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:39:47 +0100 Subject: [PATCH] Implement `Clone` for `ShaderModule` (#6937) --- wgpu/src/api/shader_module.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/src/api/shader_module.rs b/wgpu/src/api/shader_module.rs index e3d2f39b74..2f3e39fc9b 100644 --- a/wgpu/src/api/shader_module.rs +++ b/wgpu/src/api/shader_module.rs @@ -10,7 +10,7 @@ use crate::*; /// of a pipeline. /// /// Corresponds to [WebGPU `GPUShaderModule`](https://gpuweb.github.io/gpuweb/#shader-module). -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct ShaderModule { pub(crate) inner: dispatch::DispatchShaderModule, }