Skip to content

Commit

Permalink
Implement Clone for ShaderModule (gfx-rs#6937)
Browse files Browse the repository at this point in the history
  • Loading branch information
a1phyr authored Jan 17, 2025
1 parent bdef8c0 commit aa94634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/src/api/shader_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit aa94634

Please sign in to comment.