mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
adds eq to DepthBiasState and DepthStencilState (#3096)
This commit is contained in:
1 parent
0951b033a7
commit
aed3b1ae59
1 file changed
+3
-1
@@ -3188,12 +3188,14 @@ impl PartialEq for DepthBiasState {
|
||||
}
|
||||
}
|
||||
|
||||
impl Eq for DepthBiasState {}
|
||||
|
||||
/// Describes the depth/stencil state in a render pipeline.
|
||||
///
|
||||
/// Corresponds to [WebGPU `GPUDepthStencilState`](
|
||||
/// https://gpuweb.github.io/gpuweb/#dictdef-gpudepthstencilstate).
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Debug, Hash, PartialEq)]
|
||||
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "trace", derive(Serialize))]
|
||||
#[cfg_attr(feature = "replay", derive(Deserialize))]
|
||||
pub struct DepthStencilState {
|
||||
|
||||
Reference in new issue
Block a user