fix(renderer): keep draw-order offsets within clipping planes

This commit is contained in:
Christopher Overbeck committed 2026-09-15 12:36:05 -05:00
1 parent 0e42e3bf28
commit e52e565b1f
26 files changed
+525 -90

No files matched your search

+2 -2
View File
@@ -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 {