Fix clippy lints 🦀

This commit is contained in:
Héctor Ramón Jiménez 2023-11-14 11:43:38 +01:00
parent 3e8ed05356
commit 33f6262944
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 8 additions and 8 deletions

View file

@ -479,15 +479,15 @@ impl DepthPipeline {
entry_point: "vs_main",
buffers: &[],
},
primitive: Default::default(),
primitive: wgpu::PrimitiveState::default(),
depth_stencil: Some(wgpu::DepthStencilState {
format: wgpu::TextureFormat::Depth32Float,
depth_write_enabled: false,
depth_compare: wgpu::CompareFunction::Less,
stencil: Default::default(),
bias: Default::default(),
stencil: wgpu::StencilState::default(),
bias: wgpu::DepthBiasState::default(),
}),
multisample: Default::default(),
multisample: wgpu::MultisampleState::default(),
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "fs_main",