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, }