@@ -270,14 +270,14 @@ pub struct CommandEncoder {
270
270
}
271
271
272
272
/// An in-progress recording of a render pass.
273
- #[ derive( Debug , PartialEq , Eq , Hash ) ]
273
+ #[ derive( Debug , PartialEq , Eq ) ]
274
274
pub struct RenderPass < ' a > {
275
275
id : wgc:: id:: RenderPassId ,
276
276
_parent : & ' a mut CommandEncoder ,
277
277
}
278
278
279
279
/// An in-progress recording of a compute pass.
280
- #[ derive( Debug , PartialEq , Eq , Hash ) ]
280
+ #[ derive( Debug , PartialEq , Eq ) ]
281
281
pub struct ComputePass < ' a > {
282
282
id : wgc:: id:: ComputePassId ,
283
283
_parent : & ' a mut CommandEncoder ,
@@ -292,7 +292,7 @@ pub struct Queue {
292
292
}
293
293
294
294
/// A resource that can be bound to a pipeline.
295
- #[ derive( Clone , Debug , PartialEq , Eq , Hash ) ]
295
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
296
296
pub enum BindingResource < ' a > {
297
297
Buffer {
298
298
buffer : & ' a Buffer ,
@@ -303,7 +303,7 @@ pub enum BindingResource<'a> {
303
303
}
304
304
305
305
/// A bindable resource and the slot to bind it to.
306
- #[ derive( Clone , Debug , PartialEq , Eq , Hash ) ]
306
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
307
307
pub struct Binding < ' a > {
308
308
pub binding : u32 ,
309
309
pub resource : BindingResource < ' a > ,
@@ -354,7 +354,7 @@ pub struct BindGroupLayoutDescriptor<'a> {
354
354
}
355
355
356
356
/// A description of a group of bindings and the resources to be bound.
357
- #[ derive( Clone , Debug , PartialEq , Eq , Hash ) ]
357
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
358
358
pub struct BindGroupDescriptor < ' a > {
359
359
/// The layout for this bind group.
360
360
pub layout : & ' a BindGroupLayout ,
@@ -371,13 +371,13 @@ pub struct BindGroupDescriptor<'a> {
371
371
///
372
372
/// A `PipelineLayoutDescriptor` can be passed to [`Device::create_pipeline_layout`] to obtain a
373
373
/// [`PipelineLayout`].
374
- #[ derive( Clone , Debug , PartialEq , Eq , Hash ) ]
374
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
375
375
pub struct PipelineLayoutDescriptor < ' a > {
376
376
pub bind_group_layouts : & ' a [ & ' a BindGroupLayout ] ,
377
377
}
378
378
379
379
/// A description of a programmable pipeline stage.
380
- #[ derive( Clone , Debug , PartialEq , Eq , Hash ) ]
380
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
381
381
pub struct ProgrammableStageDescriptor < ' a > {
382
382
/// The compiled shader module for this stage.
383
383
pub module : & ' a ShaderModule ,
@@ -409,7 +409,7 @@ pub struct VertexBufferDescriptor<'a> {
409
409
}
410
410
411
411
/// A complete description of a render (graphics) pipeline.
412
- #[ derive( Clone , Debug , PartialEq ) ]
412
+ #[ derive( Clone , Debug ) ]
413
413
pub struct RenderPipelineDescriptor < ' a > {
414
414
/// The layout of bind groups for this pipeline.
415
415
pub layout : & ' a PipelineLayout ,
@@ -527,14 +527,14 @@ pub struct TextureDescriptor<'a> {
527
527
}
528
528
529
529
/// A swap chain image that can be rendered to.
530
- #[ derive( Debug , PartialEq , Eq , Hash ) ]
530
+ #[ derive( Debug , PartialEq , Eq ) ]
531
531
pub struct SwapChainOutput {
532
532
pub view : TextureView ,
533
533
swap_chain_id : wgc:: id:: SwapChainId ,
534
534
}
535
535
536
536
/// A view of a buffer which can be used to copy to or from a texture.
537
- #[ derive( Clone , Debug , PartialEq , Eq , Hash ) ]
537
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
538
538
pub struct BufferCopyView < ' a > {
539
539
/// The buffer to be copied to or from.
540
540
pub buffer : & ' a Buffer ,
@@ -564,7 +564,7 @@ impl BufferCopyView<'_> {
564
564
}
565
565
566
566
/// A view of a texture which can be used to copy to or from a buffer or another texture.
567
- #[ derive( Clone , Debug , PartialEq , Eq , Hash ) ]
567
+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
568
568
pub struct TextureCopyView < ' a > {
569
569
/// The texture to be copied to or from.
570
570
pub texture : & ' a Texture ,
0 commit comments