forked from 1b-agent/opencadstudio-upstream
fix(hatch): clip fill with kernel mesh
Resolve boundary topology before rendering so corner-aligned pattern rows cannot flip shader parity. Chunk indexed geometry to device buffer limits and retain the texture compatibility transport. Refs #489
This commit is contained in:
1 parent
448869ac35
commit
5b9fffdfba
9 files changed
+259
-416
No files matched your search
@@ -16,9 +16,8 @@ impl DeviceCapabilities {
|
||||
/// Indexed wires read one per-wire constants storage buffer.
|
||||
const WIRE_STORAGE_BINDINGS: u32 = 1;
|
||||
|
||||
/// Batched hatch uses five storage bindings in one shader stage:
|
||||
/// instances, boundaries, families, dashes, and visibility.
|
||||
const HATCH_STORAGE_BINDINGS: u32 = 5;
|
||||
/// Batched hatch stores instances, families, dashes, and visibility.
|
||||
const HATCH_STORAGE_BINDINGS: u32 = 4;
|
||||
|
||||
pub fn detect(device: &wgpu::Device) -> Self {
|
||||
Self::from_limits(&device.limits())
|
||||
|
||||
Reference in new issue
Block a user