forked from 1b-agent/opencadstudio-upstream
fix(render): eliminate depth-write edge conflict at polyline arc joints
This commit is contained in:
1 parent
f0cc4ffba8
commit
2875d4ae61
3 files changed
+16
-4
No files matched your search
@@ -145,7 +145,7 @@ pub fn create_pipelines(
|
||||
},
|
||||
depth_stencil: Some(wgpu::DepthStencilState {
|
||||
format: wgpu::TextureFormat::Depth24PlusStencil8,
|
||||
depth_write_enabled: Some(true),
|
||||
depth_write_enabled: Some(false),
|
||||
depth_compare: Some(wgpu::CompareFunction::LessEqual),
|
||||
stencil: content_stencil.clone(),
|
||||
bias: wgpu::DepthBiasState::default(),
|
||||
|
||||
Reference in new issue
Block a user