Remove clamp_depth from DepthStencilState

clamp_depth no longer exists on DepthStencilState, and is instead only on PrimitiveState.
pull/190/head
Aevyrie 3 years ago committed by GitHub
parent 0585ca5ca5
commit e16efae327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,8 +88,6 @@ let render_pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescrip
depth_compare: wgpu::CompareFunction::Less, // 1.
stencil: wgpu::StencilState::default(), // 2.
bias: wgpu::DepthBiasState::default(),
// Setting this to true requires Features::DEPTH_CLAMPING
clamp_depth: false,
}),
// ...
});

Loading…
Cancel
Save