forked from 1b-agent/opencadstudio-upstream
fix(renderer): keep draw-order offsets within clipping planes
This commit is contained in:
1 parent
0e42e3bf28
commit
e52e565b1f
26 files changed
+525
-90
No files matched your search
@@ -78,9 +78,9 @@ impl HatchGpu {
|
||||
"hatch.texture.shader"
|
||||
}),
|
||||
source: wgpu::ShaderSource::Wgsl(std::borrow::Cow::Borrowed(if uses_storage {
|
||||
include_str!("../../../shaders/hatch.wgsl")
|
||||
draw_order_shader!("hatch.wgsl")
|
||||
} else {
|
||||
include_str!("../../../shaders/hatch_texture.wgsl")
|
||||
draw_order_shader!("hatch_texture.wgsl")
|
||||
})),
|
||||
});
|
||||
let vertex_layouts = if uses_storage {
|
||||
|
||||
Reference in new issue
Block a user