diff options
author | 2020-08-27 19:15:05 +0200 | |
---|---|---|
committer | 2020-08-27 19:15:05 +0200 | |
commit | b689778ed94b34706bf97e5994a721a8648386a5 (patch) | |
tree | d74fbd88fc157ca2b3fd078eec2b2985f0044fbf /wgpu | |
parent | bae0a3e46e6f4f21ef8c6c8e9035efb7c87a9449 (diff) | |
download | iced-b689778ed94b34706bf97e5994a721a8648386a5.tar.gz iced-b689778ed94b34706bf97e5994a721a8648386a5.tar.bz2 iced-b689778ed94b34706bf97e5994a721a8648386a5.zip |
Remove redundant depth bias fields in `iced_wgpu`
Diffstat (limited to 'wgpu')
-rw-r--r-- | wgpu/src/image.rs | 3 | ||||
-rw-r--r-- | wgpu/src/quad.rs | 3 | ||||
-rw-r--r-- | wgpu/src/triangle.rs | 3 | ||||
-rw-r--r-- | wgpu/src/triangle/msaa.rs | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/wgpu/src/image.rs b/wgpu/src/image.rs index cd756c1e..3a08662a 100644 --- a/wgpu/src/image.rs +++ b/wgpu/src/image.rs @@ -152,9 +152,6 @@ impl Pipeline { rasterization_state: Some(wgpu::RasterizationStateDescriptor { front_face: wgpu::FrontFace::Cw, cull_mode: wgpu::CullMode::None, - depth_bias: 0, - depth_bias_slope_scale: 0.0, - depth_bias_clamp: 0.0, ..Default::default() }), primitive_topology: wgpu::PrimitiveTopology::TriangleList, diff --git a/wgpu/src/quad.rs b/wgpu/src/quad.rs index f8d6c509..a115fa73 100644 --- a/wgpu/src/quad.rs +++ b/wgpu/src/quad.rs @@ -80,9 +80,6 @@ impl Pipeline { rasterization_state: Some(wgpu::RasterizationStateDescriptor { front_face: wgpu::FrontFace::Cw, cull_mode: wgpu::CullMode::None, - depth_bias: 0, - depth_bias_slope_scale: 0.0, - depth_bias_clamp: 0.0, ..Default::default() }), primitive_topology: wgpu::PrimitiveTopology::TriangleList, diff --git a/wgpu/src/triangle.rs b/wgpu/src/triangle.rs index fcab5e3d..d06e29c0 100644 --- a/wgpu/src/triangle.rs +++ b/wgpu/src/triangle.rs @@ -142,9 +142,6 @@ impl Pipeline { rasterization_state: Some(wgpu::RasterizationStateDescriptor { front_face: wgpu::FrontFace::Cw, cull_mode: wgpu::CullMode::None, - depth_bias: 0, - depth_bias_slope_scale: 0.0, - depth_bias_clamp: 0.0, ..Default::default() }), primitive_topology: wgpu::PrimitiveTopology::TriangleList, diff --git a/wgpu/src/triangle/msaa.rs b/wgpu/src/triangle/msaa.rs index f25667a5..14560281 100644 --- a/wgpu/src/triangle/msaa.rs +++ b/wgpu/src/triangle/msaa.rs @@ -92,9 +92,6 @@ impl Blit { rasterization_state: Some(wgpu::RasterizationStateDescriptor { front_face: wgpu::FrontFace::Cw, cull_mode: wgpu::CullMode::None, - depth_bias: 0, - depth_bias_slope_scale: 0.0, - depth_bias_clamp: 0.0, ..Default::default() }), primitive_topology: wgpu::PrimitiveTopology::TriangleList, |