diff --git a/crates/nodes/src/pattern/mixed_depth_runs.rs b/crates/nodes/src/pattern/mixed_depth_runs.rs index b8a1c561..d6c3fa9e 100644 --- a/crates/nodes/src/pattern/mixed_depth_runs.rs +++ b/crates/nodes/src/pattern/mixed_depth_runs.rs @@ -93,10 +93,17 @@ const FOUR_CHILDREN_AND_GRANDCHILDREN: &[(usize, usize)] = &[ (16384, 22), ]; -// With two untiled trees, each drawing parent and its descendants submit 21 draws. +// With two trees, each drawing parent and its descendants submit 21 draws before tiling. // At the end of the first 30 runs a physical batch holds 92 + 128 parents. // The next 40 finish that batch inside the run starting at parent 12,352. const CONTINUED_PARENT: usize = 12_352 + 40; +fn continued_layout(prefix: &[(usize, usize)], common: usize, tail: &[usize]) -> Vec<(usize, usize)> { + let mut layout: Vec<_> = prefix.iter().filter(|(_, rank)| *rank < common).copied().collect(); + layout.extend(tail.iter().enumerate().map(|(rank, &end)| (end, common + rank))); + layout.sort_unstable(); + layout +} + static PAIRED_GRANDCHILDREN: LazyLock> = LazyLock::new(|| { const COMMON_RUNS: usize = 30; // Exclusive parent counts in submission order. Counts above 16,384 belong @@ -177,8 +184,28 @@ static PAIRED_GRANDCHILDREN: LazyLock> = LazyLock::new(|| { 29056, 30144, ]; - let mut layout: Vec<_> = FOUR_CHILDREN_AND_GRANDCHILDREN.iter().filter(|(_, rank)| *rank < COMMON_RUNS).copied().collect(); - layout.extend(tail.into_iter().enumerate().map(|(rank, end)| (end, COMMON_RUNS + rank))); + continued_layout(FOUR_CHILDREN_AND_GRANDCHILDREN, COMMON_RUNS, &tail) +}); + +// When five physical batches fit before parent 22,528, the rest of that +// subtree joins the two pending subtrees beginning at parent 24,640. +// Integral subtree ends are fixed. Interior markers select a subtree and +// the physical copy count locates the actual split inside it. +static FIVE_BATCH_CONTINUATION: LazyLock> = LazyLock::new(|| { + let tail = [ + 22465, 30720, 24640, 26497, 31744, 16448, 18369, 20480, 31873, 24576, 29761, 32768, 28737, 28672, 30913, 32256, 20865, 28800, 28928, 29184, 31105, + 29824, 29952, 30208, 28929, 22528, 24768, 28864, 21120, 26624, 16576, 18432, 29888, 31104, 20992, 21248, 31168, 30976, 31232, 21184, 29056, 31936, + 30080, + ]; + let mut layout = continued_layout(&PAIRED_GRANDCHILDREN, 58, &tail); + for (end, rank) in &mut layout { + // Two eight-batch cuts now fall in the preceding 64-parent subtree. + match rank { + 38 => *end = 24385, + 43 => *end = 28545, + _ => {} + } + } layout.sort_unstable(); layout }); @@ -197,6 +224,7 @@ pub(super) struct MixedDepthRuns { draws: usize, shape: Option, fixed_image: bool, + single_tree_window: bool, copies: Option, } @@ -207,9 +235,9 @@ impl MixedDepthRuns { } let axes = context.tiling_axes(); // A common render and tiling window determines the repeated copies along its edges. - let window = if matches!(deepest, 8 | 10) && axes == [true; 2] { context.v4("render_region") } else { UNIT_WINDOW }; + let window = if axes == [true; 2] { context.v4("render_region") } else { UNIT_WINDOW }; let copies = if axes != [false; 2] || deepest == 10 { Some(TileCopies::new(context, deepest, window)?) } else { None }; - Some(Self { copies, deepest, fixed_image, ..Self::default() }) + Some(Self { copies, deepest, fixed_image, single_tree_window: deepest != 9 || window == UNIT_WINDOW, ..Self::default() }) } pub(super) fn visit(&mut self, node: &PatternNode, depth: u32, retained: usize) -> bool { @@ -221,7 +249,7 @@ impl MixedDepthRuns { if depth == 0 { if self.trees != 0 { let continuation = match self.deepest { - 9 => self.copies.is_none() && self.children_per_parent == 4, + 9 => self.children_per_parent == 4 && self.copies.as_ref().is_none_or(TileCopies::tiles_both_axes), 10 => self.copies.as_ref().is_some_and(TileCopies::complete_inactive_tree), _ => false, }; @@ -255,8 +283,7 @@ impl MixedDepthRuns { (self.layout, self.draws_per_parent) = match (self.deepest, children) { (8, 2) => (TWO_CHILDREN, 3), (8, 4) => (FOUR_CHILDREN, 5), - (9, 4) if self.copies.is_none() => (PAIRED_GRANDCHILDREN.as_slice(), 21), - (9, 4) => (FOUR_CHILDREN_AND_GRANDCHILDREN, 21), + (9, 4) => (PAIRED_GRANDCHILDREN.as_slice(), 21), (10, 4) => (&[][..], 5), _ => return false, }; @@ -306,7 +333,10 @@ impl MixedDepthRuns { if self.trees == 0 || self.parents != self.trees * DEPTH_SEVEN_PARENTS + self.extra_parents || self.draws != self.parents * self.draws_per_parent { return None; } - if self.deepest == 9 && self.copies.is_none() && self.trees == 1 { + if self.deepest == 9 && self.trees == 1 { + if !self.single_tree_window { + return None; + } // Only a continuation splits this run. Rejoin the two retained // ranges before flushing the unfinished batches of a single tree. let split = self.layout.partition_point(|&(end, _)| end <= CONTINUED_PARENT); @@ -326,8 +356,15 @@ impl MixedDepthRuns { if self.children_per_parent == 2 { return copies.two_child_runs(stamps); } - layout = copies.layout(self.layout)?; - self.starts = copies.boundaries(&layout, self.draws_per_parent)?; + if self.trees == 1 { + layout = copies.layout(self.layout)?; + self.starts = copies.boundaries(&layout, self.draws_per_parent)?; + } else if let Some(bounds) = copies.boundaries(&FIVE_BATCH_CONTINUATION, self.draws_per_parent) { + layout = Cow::Borrowed(FIVE_BATCH_CONTINUATION.as_slice()); + self.starts = bounds; + } else { + self.starts = copies.boundaries(&layout, self.draws_per_parent)?; + } } let mut groups = vec![DrawRun::whole(&[]); layout.len()]; for ((_, rank), bounds) in layout.iter().zip(self.starts.windows(2)) { diff --git a/crates/nodes/src/pattern/tests.rs b/crates/nodes/src/pattern/tests.rs index 16a619db..c347f2be 100644 --- a/crates/nodes/src/pattern/tests.rs +++ b/crates/nodes/src/pattern/tests.rs @@ -734,8 +734,20 @@ fn fixed_image_stamps_keep_the_subtree_order_of_an_untiled_quadrant_tree() { } } -#[test] -fn unfinished_quadrant_draws_can_follow_a_draw_from_the_next_tree() { +fn two_tree_parent_probe(negative: (i32, [i32; 2]), small: (i32, [i32; 2]), wrap_leaves: bool) -> PatternGraph { + fn at_parent(f: &mut FunctionGraph, (iteration, pixel): (i32, [i32; 2])) -> u32 { + let number = f.add("get_float1", &[], Some(Value::Text("$number".into()))); + let phase = f.add_constant(Value::Float(iteration as f32)); + let active = f.add("eq", &[number, phase], None); + let pos = f.add("get_float2", &[], Some(Value::Text("$pos".into()))); + let center = f.add_constant(Value::Float2(pixel.map(|axis| (axis as f32 + 0.5) / 128.0))); + let delta = f.add("sub", &[pos, center], None); + let squared = f.add("dot", &[delta, delta], None); + let zero = f.add_constant(Value::Float(0.0)); + let selected = f.add("eq", &[squared, zero], None); + f.add("and", &[active, selected], None) + } + let mut graph = PatternGraph::with_root(PatternNodeKind::Iterate); graph.nodes[0].parameters.insert("numberadded".into(), Value::Int(2)); let mut parent = graph.add(PatternNodeKind::Quadrant).unwrap(); @@ -753,28 +765,30 @@ fn unfinished_quadrant_draws_can_follow_a_draw_from_the_next_tree() { let pos = frame.add("get_float2", &[], Some(Value::Text("$pos".into()))); let far = frame.add_constant(Value::Float2([0.875; 2])); let center = if depth == 7 { - // Each iteration sends a different parent to the same pixel on white. - let later = |f: &mut FunctionGraph| { - let number = f.add("get_float1", &[], Some(Value::Text("$number".into()))); - let zero = f.add_constant(Value::Float(0.0)); - f.add("gt", &[number, zero], None) - }; - let second = later(&mut frame); - let first_pos = frame.add_constant(Value::Float2([79.5 / 128.0, 69.5 / 128.0])); - let second_pos = frame.add_constant(Value::Float2([118.5 / 128.0, 112.5 / 128.0])); - let selected = frame.add("ifelse", &[second, second_pos, first_pos], None); - let delta = frame.add("sub", &[pos, selected], None); - let squared = frame.add("dot", &[delta, delta], None); - let zero = frame.add_constant(Value::Float(0.0)); - let hit = frame.add("eq", &[squared, zero], None); + let a = at_parent(&mut frame, negative); + let b = at_parent(&mut frame, small); + let hit = frame.add("or", &[a, b], None); let readout = frame.add_constant(Value::Float2([32.5 / 128.0, 16.5 / 128.0])); let mut tint = FunctionGraph::default(); - let second = later(&mut tint); - let negative = tint.add_constant(Value::Float(-1.0)); - let small = tint.add_constant(Value::Float(tiny)); - tint.output = Some(tint.add("ifelse", &[second, negative, small], None)); + let selected = at_parent(&mut tint, negative); + let minus_one = tint.add_constant(Value::Float(-1.0)); + let increment = tint.add_constant(Value::Float(tiny)); + tint.output = Some(tint.add("ifelse", &[selected, minus_one, increment], None)); params.insert("opacity".into(), Value::Function(Box::new(tint))); frame.add("ifelse", &[hit, readout, far], None) + } else if wrap_leaves && depth == 9 { + // Eight by eight leaves in the first tree produce one extra tile copy each. + let number = frame.add("get_float1", &[], Some(Value::Text("$number".into()))); + let zero = frame.add_constant(Value::Float(0.0)); + let mut inside = frame.add("eq", &[number, zero], None); + let limit = frame.add_constant(Value::Float(8.0 / 512.0)); + for axis in 0..2 { + let component = frame.add("swizzle1", &[pos], Some(Value::Int(axis))); + let below = frame.add("lr", &[component, limit], None); + inside = frame.add("and", &[inside, below], None); + } + let edge = frame.add_constant(Value::Float2([0.0, 0.875])); + frame.add("ifelse", &[inside, edge, far], None) } else { far }; @@ -782,10 +796,25 @@ fn unfinished_quadrant_draws_can_follow_a_draw_from_the_next_tree() { params.insert("frameoffset".into(), Value::Function(Box::new(frame))); graph.nodes[(child - 1) as usize].parameters = params; } + graph +} + +#[test] +fn unfinished_quadrant_draws_can_follow_a_draw_from_the_next_tree() { + let graph = two_tree_parent_probe((1, [118, 112]), (0, [79, 69]), false); let vars = BTreeMap::from([("$tiling".into(), Value::Int(0))]); let square = cook_in_regions(graph.clone(), &vars, 188119, [128; 2], [[0.0, 1.0, 0.0, 1.0]; 2], 1.0).unwrap().remove(0); let image = draw_white_image(graph, 2, 0); - assert_eq!([square.get_gray(32, 16, false), image.get_gray(32, 16, false)], [tiny; 2], "order of overlapping parents"); + assert_eq!([square.get_gray(32, 16, false), image.get_gray(32, 16, false)], [f32::EPSILON * 0.25; 2], "order of overlapping parents"); +} + +#[test] +fn extra_copies_of_leaves_can_move_a_parent_past_another_subtree() { + for (wrap_leaves, expected) in [(false, f32::EPSILON * 0.25), (true, 0.0)] { + let graph = two_tree_parent_probe((0, [49, 29]), (0, [54, 50]), wrap_leaves); + let image = draw_white_image(graph, 2, 3); + assert_eq!(image.get_gray(32, 16, false), expected, "parent order with wrapping leaves {wrap_leaves}"); + } } #[test] diff --git a/crates/nodes/src/pattern/tile_runs.rs b/crates/nodes/src/pattern/tile_runs.rs index 564d1607..db454e25 100644 --- a/crates/nodes/src/pattern/tile_runs.rs +++ b/crates/nodes/src/pattern/tile_runs.rs @@ -21,6 +21,7 @@ pub(super) const UNIT_WINDOW: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; const DEPTH_THREE_PARENTS: usize = 256; const DEPTH_FOUR_PARENTS: usize = 64; const DEPTH_FIVE_PARENTS: usize = 16; +const TWO_DEEP_TREES: usize = 2 * 4_usize.pow(4); const PAIRED_SUBTREE_PARENTS: usize = 2 * DEPTH_THREE_PARENTS; const FIRST_PAIR_END: usize = 48 * DEPTH_THREE_PARENTS + PAIRED_SUBTREE_PARENTS; // Paired interior squares change order when the preceding draws fill 5,460 tile copies. @@ -77,6 +78,10 @@ impl TileCopies { self.subtree_ends.len() == inactive_children::SUBTREES_PER_TREE } + pub(super) fn tiles_both_axes(&self) -> bool { + self.axes == [true; 2] + } + pub(super) fn begin_inactive_subtree(&mut self, trees: usize) -> bool { if self.subtree_ends.len() >= trees * inactive_children::SUBTREES_PER_TREE { return false; @@ -95,7 +100,10 @@ impl TileCopies { let parents = draws / draws_per_parent; // Count the eight pairs in the final quadrant. Their combined occupancy determines // whether to continue a single overflowing pair or all eight in submission order. - if self.parents_per_subtree == DEPTH_FOUR_PARENTS && parents >= FIRST_PAIR_END && parents.is_multiple_of(PAIRED_SUBTREE_PARENTS) { + if self.parents_per_subtree == DEPTH_FOUR_PARENTS + && (FIRST_PAIR_END..=64 * DEPTH_THREE_PARENTS).contains(&parents) + && parents.is_multiple_of(PAIRED_SUBTREE_PARENTS) + { let subtrees = PAIRED_SUBTREE_PARENTS / DEPTH_FOUR_PARENTS; let start = self.subtree_ends.iter().rev().nth(subtrees - 1)?; if end - start >= 2 * COPIES_PER_BATCH { @@ -469,6 +477,11 @@ impl TileCopies { // The prefix beginning at group 40 keeps its place when its batch fills one subtree earlier. return self.subtree_ends.get(42).zip(self.subtree_ends.get(44)).is_some_and(|(&before, &after)| before < cut && cut < after); } + // In a two-tree continuation the part of group 120 that is still + // pending can fill its batch in either of its last two subtrees. + if self.subtree_ends.len() == TWO_DEEP_TREES && parents == 483 * DEPTH_FOUR_PARENTS + 1 { + return self.subtree_ends.get(subtree - 2).zip(self.subtree_ends.get(subtree)).is_some_and(|(&lower, &upper)| lower < cut && cut < upper); + } if self.parents_per_subtree == DEPTH_FOUR_PARENTS && self.axes == [true, false] && parents % DEPTH_THREE_PARENTS < DEPTH_FOUR_PARENTS { let previous = match group { // When the seventh batch ends early, the remaining copies join the @@ -498,7 +511,11 @@ impl TileCopies { *order.get_mut(rank)? = run; // A repeated endpoint leaves the first part for the active batch to size. let split = layout.get(run + 1).is_some_and(|&(next, _)| next == parents); - if !split && parents.is_multiple_of(self.parents_per_subtree) { + // After two complete trees, submission 50 ends on a full batch. + // With one copy per draw this coincides with the end of subtree + // 318. Extra copies move the cut earlier inside that subtree. + let physical = self.subtree_ends.len() == TWO_DEEP_TREES && parents == 318 * DEPTH_FOUR_PARENTS; + if !split && !physical && parents.is_multiple_of(self.parents_per_subtree) { cuts[run + 1] = self.subtree_ends.get((parents / self.parents_per_subtree).checked_sub(1)?).copied(); } } diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 726ba520..510b411b 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -59,6 +59,41 @@ The first pass classifies all 546 roots: 166 Parity and 380 Too hard. These meas ## 2026-11-26 root comparisons +### Tiled copies across two complete quadrant trees + +With ordinary graph tiling, two complete drawing trees can share a physical batch. Each of 16,384 parents per tree submits one draw, four child draws and sixteen grandchild draws. The sums depend on which tile copy fills a batch of 5,460. In the order with five full batches before parent 22,528, its remaining draws precede the two pending subtrees starting at parent 24,640. A separate batch ends at parent 20,352 when no stamp wraps. Additional copies move that cut into the preceding subtree. + +Use Noise Dirt 1 with its original graph and tiling. Keep the published defaults at 16 × 32 and use scale 1, disorder .8125 and non-square expansion at 128 × 256. Set F32 on the node feeding the output. All three single-processor images now match. The invariant column counts locations at which the one- and eight-processor captures have identical F32 words. + +| Dimensions · seed | Earlier on one · maximum | Corrected on one · maximum | Corrected on eight · maximum | Invariant pixels matched | +|---|---:|---:|---:|---:| +| 16 × 32 · 0 | 499/512 · 5.96046448e-08 | 512/512 · 0 | 494/512 · 5.96046448e-08 | 494/494 | +| 16 × 32 · 299324 | 491/512 · 5.96046448e-08 | 512/512 · 0 | 489/512 · 5.96046448e-08 | 489/489 | +| 128 × 256 · 433665 | 32,050/32,768 · 1.1920929e-07 | 32,768/32,768 · 0 | 31,732/32,768 · 1.1920929e-07 | 31,732/31,732 | + +The same 128 × 256 geometry in U16 now matches all 32,768 pixels on one processor, up from 32,764. It also matches all 32,764 locations at which the seven archived U16 reads agree, including (59,61) at 40,709 and (42,230) at 29,926. In F32 all 31,145 locations shared by those seven reads agree with the release result. [Individual overlap measurements](#five-individual-image-draws-at-one-dirt-1-pixel) + +Repeat the [60 settings and 12 archived ordinary saves per graph](#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2) on one release build. Each cell gives exact pixels, total pixels and maximum difference in that storage format. Integer maxima are stored levels. The archive contains its own saved settings. + +| Graph · storage | Earlier original on one | Corrected original on one | Corrected original on eight | Corrected archived save on one | +|---|---:|---:|---:|---:| +| Noise Dirt 1 · U8 | 99,840/99,840 · 0 | 99,840/99,840 · 0 | 99,840/99,840 · 0 | 26,624/26,624 · 0 | +| Noise Dirt 1 · U16 | 338,928/338,944 · 1 | 338,932/338,944 · 1 | 338,931/338,944 · 1 | 51,712/51,712 · 0 | +| Noise Dirt 1 · F16 | 101,888/101,888 · 0 | 101,888/101,888 · 0 | 101,888/101,888 · 0 | — | +| Noise Dirt 1 · F32 | 239,403/244,992 · 1.1920929e-07 | 240,155/244,992 · 1.1920929e-07 | 239,337/244,992 · 1.1920929e-07 | 69,178/71,168 · 1.1920929e-07 | +| Noise Dirt 2 · U8 | 99,840/99,840 · 0 | 99,840/99,840 · 0 | 99,840/99,840 · 0 | 26,624/26,624 · 0 | +| Noise Dirt 2 · U16 | 338,940/338,944 · 2 | 338,940/338,944 · 2 | 338,935/338,944 · 2 | 51,712/51,712 · 0 | +| Noise Dirt 2 · F16 | 101,887/101,888 · 6.10351562e-05 | 101,887/101,888 · 6.10351562e-05 | 101,887/101,888 · 0.000122070312 | — | +| Noise Dirt 2 · F32 | 244,990/244,992 · 2.52053142e-05 | 244,990/244,992 · 2.52053142e-05 | 244,988/244,992 · 2.52090394e-05 | 71,167/71,168 · 2.52053142e-05 | + +Noise Dirt 1 improved from 37/60 to 41/60 exact originals on one processor. On eight processors 32/60 match, and 8/12 archived saves match on one processor. All four changed originals match after fresh ordinary saves in both applications, covering 66,560/66,560 pixels. Noise Dirt 2 matches 53/60 whole originals on one processor, 51/60 on eight and 11/12 archived saves. + +For an independent test, start a grayscale quadrant graph on white. Let outer iterations 0 and 5 each enter the same complete nine-level tree. Draw original white images or squares at depths 7, 8 and 9 with additive blending. Map pairs of depth-seven parents onto a common interior pixel, with gains −1 and 2⁻²⁵. Swap both gains and repeat the comparisons with adjacent parent pairs offset by one. The two possible results distinguish their compositing order. Hold other draws away from the readout. Move a selected terminal draw from (.875,.875) to (0,.875) to add one tile copy without touching the readout. In the regression, moving the first tree's eight-by-eight corner of terminal draws changes the order of parents 1,955 and 3,868. With no extra copies the readout is 2⁻²⁵ and with 64 it is zero. + +To reproduce the panel with more tile copies, distribute a requested number of extra draws among 32,768 depth-seven parents. Store each parent's count in the lower half of an original 256² RGBA field, with one 128-wide bank per tree. At depth nine, move the first requested number of leaves in the parent's four-by-four region across the tile edge, in row-major order. The upper half of the field carries the independent signed readout pairs. Use PCG64 seed 172349. For each candidate draw 64 standard normal values, exponentiate, repeat each weight for 512 consecutive parents in traversal order, and normalize the weights to sum to one. Draw the extra-copy total uniformly from integers 1,100 through 3,599, then select parents with replacement using those weights. Keep candidates 48, 49, 53 and 56. Continue the same random stream with totals 30 through 439 and keep the next four candidates. Each parent in a tree uses the seven interleaved X and Y bits of its traversal index to locate its texel. Across four fields with 37, 253, 240 and 296 extra copies and four with 2,365, 2,135, 2,389 and 2,516, all 524,272 signed comparisons agree with the physical order. Two readout frames on each of four independent fields reproduce 524,288/524,288 F32 pixels on the release build, and 524,288/524,288 after an ordinary save. Maximum error is zero on both routes. More heavily wrapped first-tree controls can cross another subtree boundary and use the existing fallback. + +Two alternating cold runs of the 128 × 256 case averaged 5.61 s before and 6.56 s after. Average peak process working set was 182.6 MiB and 235.8 MiB. The normal-cook regression failed on the earlier build. All 570 release node and evaluator tests passed, along with formatting, strict workspace Clippy, dependency layers and WebAssembly. + ### Unfinished draws across two untiled quadrant trees Noise Dirt 1 now matches all 13 original settings with graph tiling disabled on one processor, up from 12. The ordinary save also matches all 61,440 pixels. At 64 × 128 with seed 883903, scale 1, disorder .8125 and non-square expansion enabled, match counts rose from 8,062/8,192 to 8,192/8,192 in F32. Maximum error fell from 1.1920929e−07 to zero. The same file's eight-processor capture went from 8,053/8,192 to 7,999/8,192, maximum 1.1920929e−07. For the complete 13-setting series this gives 60,901/61,440 on eight processors, with seven whole images exact. Applying the tiling property to the drawing node instead gives 61,440/61,440 on one processor and 60,906/61,440 on eight. [Four output formats and original settings](#fixed-image-draw-order-in-untiled-noise-dirt-1) diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index 4257bbc1..6209d4d4 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -41,7 +41,7 @@ Writable quadrant tints now match 16,896/16,896 pixels in 44 settings across fou Six upstream filters now match 27,648/27,648 original and 27,648/27,648 reopened pixels across four output formats, up from 24,192 on each side. Both directions of an image connection through a graph instance also match 4,608/4,608 F32 pixels on each side. [Published filter properties, fixed controls and raw errors](parity-fixes.md#published-filter-properties-upstream-of-a-quadrant-draw) -Noise Dirt 1 and Noise Dirt 2 each render all 60 originals and all 12 archived ordinary saves on the same release build. With ordinary tiling, exact whole images on one processor rose from 30 to 37 for Dirt 1 and from 50 to 53 for Dirt 2. On eight processors they changed from 33 to 32 and from 53 to 51 respectively. [Default settings, stored pixels and fresh ordinary saves](parity-fixes.md#fixed-image-draws-in-tiled-dirt-graphs) With graph tiling off, Dirt 1 matches all 13 original and reopened settings on one processor and all nine additional settings at three other seeds. [Two-tree order, raw counts and ordinary saves](parity-fixes.md#unfinished-draws-across-two-untiled-quadrant-trees) [Earlier single-tree comparisons](parity-fixes.md#fixed-image-draw-order-in-untiled-noise-dirt-1) In Dirt 1 at 128 × 256, seven U16 reads agree at 32,764 locations and 32,762 of those match. At (59,61) the five individual draws are each exact. Two signed controls independently confirm their order in the combined reference image. [Individual draw comparisons](parity-fixes.md#five-individual-image-draws-at-one-dirt-1-pixel) [Isolated drawing depths and raw values](parity-fixes.md#individual-drawing-depths-at-a-dirt-1-rounding-boundary) On Dirt 2 every one of the 785,643 invariant reference pixels is exact. [Complete render coverage, errors and timing](parity-fixes.md#complete-render-coverage-for-the-two-fixed-image-dirt-graphs) [Formats and repeat comparisons](parity-fixes.md#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2) Both measured Dirt 2 formats at 32 × 16 match all 512 original and reopened pixels. The Dirt 1 v2 rectangle still reaches its traversal limit. [Whole images and procedural input controls](parity-fixes.md#streaming-deep-quadrants-that-draw-the-same-connected-image) +Noise Dirt 1 matches 41/60 ordinary tiled settings on one processor and 32/60 on eight. Noise Dirt 2 matches 53/60 on one and 51/60 on eight. [Two-tree tile copies, all formats and ordinary saves](parity-fixes.md#tiled-copies-across-two-complete-quadrant-trees) [Earlier tiled measurements](parity-fixes.md#fixed-image-draws-in-tiled-dirt-graphs) With graph tiling off, Dirt 1 matches all 13 original and reopened settings on one processor and all nine additional settings at three other seeds. [Two-tree order, raw counts and ordinary saves](parity-fixes.md#unfinished-draws-across-two-untiled-quadrant-trees) [Earlier single-tree comparisons](parity-fixes.md#fixed-image-draw-order-in-untiled-noise-dirt-1) In Dirt 1 at 128 × 256, all 32,764 locations shared by seven U16 reads now match. At (59,61) the five individual draws are each exact. Two signed controls independently confirm their order in the combined reference image. [Individual draw comparisons](parity-fixes.md#five-individual-image-draws-at-one-dirt-1-pixel) [Isolated drawing depths and raw values](parity-fixes.md#individual-drawing-depths-at-a-dirt-1-rounding-boundary) On Dirt 2 every one of the 785,643 invariant reference pixels is exact. [Complete render coverage, errors and timing](parity-fixes.md#complete-render-coverage-for-the-two-fixed-image-dirt-graphs) [Formats and repeat comparisons](parity-fixes.md#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2) Both measured Dirt 2 formats at 32 × 16 match all 512 original and reopened pixels. The Dirt 1 v2 rectangle still reaches its traversal limit. [Whole images and procedural input controls](parity-fixes.md#streaming-deep-quadrants-that-draw-the-same-connected-image) Dirt 3 and Dirt Gradient have each produced all 60 established originals across the recorded passes. A signed pair of depth-seven contributions isolates the stable one-level Spots 3 difference at (30,57). [Dirt-family comparisons](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) · [Spots 3 draw order](parity-fixes.md#two-depth-seven-draws-at-a-stored-rounding-boundary) @@ -452,9 +452,9 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug | [noise_directional_noise_4_v2.sbs/directional_noise_4](../assets/sbs/noise_directional_noise_4_v2.sbs) | 0 | No | [In progress · 134,664/144,640 pixels in 19 comparable renders](parity-fixes.md#directional-noise-and-scratch-pattern-sources) | | [noise_directional_scratches.sbs/directional_scratches](../assets/sbs/noise_directional_scratches.sbs) | 0 | Yes | [Parity · 86/86 settings and 2,571,520/2,571,520 pixels on each processor count, 64 exact saves](parity-fixes.md#directional-scratches-across-scaled-projection-windows) · [Earlier scaled generator comparisons](parity-fixes.md#scaled-scratch-and-gaussian-noise-and-spot-generators) | | [noise_directional_scratches_v2.sbs/directional_scratches](../assets/sbs/noise_directional_scratches_v2.sbs) | 0 | No | [Parity · 86/86 settings and 2,571,520/2,571,520 pixels on each processor count, 64 exact saves](parity-fixes.md#directional-scratches-across-scaled-projection-windows) · [Earlier scaled generator comparisons](parity-fixes.md#scaled-scratch-and-gaussian-noise-and-spot-generators) | -| [noise_dirt_1.sbs/dirt_1](../assets/sbs/noise_dirt_1.sbs) | 0 | Yes | [In progress · 37/60 whole tiled settings exact on one processor, 32/60 on eight](parity-fixes.md#fixed-image-draws-in-tiled-dirt-graphs) · [All 60 originals and 12 archived ordinary saves rendered](parity-fixes.md#complete-render-coverage-for-the-two-fixed-image-dirt-graphs) · [13/13 untiled settings and nine additional whole settings exact on one processor and on reopening](parity-fixes.md#unfinished-draws-across-two-untiled-quadrant-trees) · [Five individually exact draws and their reference order](parity-fixes.md#five-individual-image-draws-at-one-dirt-1-pixel) · [Two stable U16 differences at 128 × 256](parity-fixes.md#individual-drawing-depths-at-a-dirt-1-rounding-boundary) · [58/60 originals and 11/12 archived ordinary saves rendered](parity-fixes.md#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2) · [Additional 32 × 16 F32 original and ordinary save](parity-fixes.md#streaming-deep-quadrants-that-draw-the-same-connected-image) · [Earlier comparison · 34/60 whole settings rendered, 508,903/512,256 pixels on one processor, 509,696 on eight](parity-fixes.md#whole-renders-and-reopened-settings-for-two-dirt-noise-generators) · [Earlier comparison · 11/19 whole outputs, 104,064/107,776 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | +| [noise_dirt_1.sbs/dirt_1](../assets/sbs/noise_dirt_1.sbs) | 0 | Yes | [In progress · 41/60 whole tiled originals exact on one processor, 32/60 on eight](parity-fixes.md#tiled-copies-across-two-complete-quadrant-trees) · [Earlier comparison · 37/60 whole tiled settings exact on one processor, 32/60 on eight](parity-fixes.md#fixed-image-draws-in-tiled-dirt-graphs) · [All 60 originals and 12 archived ordinary saves rendered](parity-fixes.md#complete-render-coverage-for-the-two-fixed-image-dirt-graphs) · [13/13 untiled settings and nine additional whole settings exact on one processor and on reopening](parity-fixes.md#unfinished-draws-across-two-untiled-quadrant-trees) · [Five individually exact draws and their reference order](parity-fixes.md#five-individual-image-draws-at-one-dirt-1-pixel) · [Earlier U16 differences at 128 × 256](parity-fixes.md#individual-drawing-depths-at-a-dirt-1-rounding-boundary) · [58/60 originals and 11/12 archived ordinary saves rendered](parity-fixes.md#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2) · [Additional 32 × 16 F32 original and ordinary save](parity-fixes.md#streaming-deep-quadrants-that-draw-the-same-connected-image) · [Earlier comparison · 34/60 whole settings rendered, 508,903/512,256 pixels on one processor, 509,696 on eight](parity-fixes.md#whole-renders-and-reopened-settings-for-two-dirt-noise-generators) · [Earlier comparison · 11/19 whole outputs, 104,064/107,776 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | | [noise_dirt_1_v2.sbs/dirt_1](../assets/sbs/noise_dirt_1_v2.sbs) | 0 | No | [In progress · 32 × 16 F32 still reaches the traversal guard](parity-fixes.md#streaming-deep-quadrants-that-draw-the-same-connected-image) · [Earlier comparison · 28/60 whole settings rendered, 427,334/430,336 pixels on one processor, 428,390 on eight](parity-fixes.md#whole-renders-and-reopened-settings-for-two-dirt-noise-generators) · [Earlier comparison · 11/19 whole outputs, 107,082/107,776 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | -| [noise_dirt_2.sbs/dirt_2](../assets/sbs/noise_dirt_2.sbs) | 0 | Yes | [In progress · 53/60 whole tiled settings exact on one processor, 51/60 on eight](parity-fixes.md#fixed-image-draws-in-tiled-dirt-graphs) · [All 60 originals and 12 archived ordinary saves rendered](parity-fixes.md#complete-render-coverage-for-the-two-fixed-image-dirt-graphs) · [58/60 originals and 11/12 archived ordinary saves rendered](parity-fixes.md#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2) · [Additional 32 × 16 U16 and F32 originals and saves exact](parity-fixes.md#streaming-deep-quadrants-that-draw-the-same-connected-image) · [Earlier comparison · 34/60 whole settings rendered, 512,247/512,256 pixels on one processor, 512,251 on eight](parity-fixes.md#whole-outputs-and-saved-settings-for-noise-dirt-2-and-noise-dirt-3) · [Earlier comparison · 11/19 whole outputs, 107,184/107,776 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | +| [noise_dirt_2.sbs/dirt_2](../assets/sbs/noise_dirt_2.sbs) | 0 | Yes | [In progress · 53/60 whole tiled originals exact on one processor, 51/60 on eight](parity-fixes.md#tiled-copies-across-two-complete-quadrant-trees) · [Earlier comparison · 53/60 whole tiled settings exact on one processor, 51/60 on eight](parity-fixes.md#fixed-image-draws-in-tiled-dirt-graphs) · [All 60 originals and 12 archived ordinary saves rendered](parity-fixes.md#complete-render-coverage-for-the-two-fixed-image-dirt-graphs) · [58/60 originals and 11/12 archived ordinary saves rendered](parity-fixes.md#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2) · [Additional 32 × 16 U16 and F32 originals and saves exact](parity-fixes.md#streaming-deep-quadrants-that-draw-the-same-connected-image) · [Earlier comparison · 34/60 whole settings rendered, 512,247/512,256 pixels on one processor, 512,251 on eight](parity-fixes.md#whole-outputs-and-saved-settings-for-noise-dirt-2-and-noise-dirt-3) · [Earlier comparison · 11/19 whole outputs, 107,184/107,776 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | | [noise_dirt_3.sbs/dirt_3](../assets/sbs/noise_dirt_3.sbs) | 0 | Yes | [In progress · 60/60 originals have now rendered across the recorded passes](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) · [Earlier comparison · 775,891/777,472 exact whole pixels on one processor, 775,939 on eight, 58/60 settings rendered](parity-fixes.md#compositing-a-single-seven-level-tree-through-pattern-controls) · [Earlier comparison · 58/60 whole settings rendered, 775,891/777,472 pixels on one processor, 775,939 on eight](parity-fixes.md#whole-outputs-and-saved-settings-for-noise-dirt-2-and-noise-dirt-3) · [Earlier comparison · 19/19 whole outputs, 135,236/142,592 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | | [noise_dirt_3_v2.sbs/dirt_3](../assets/sbs/noise_dirt_3_v2.sbs) | 0 | No | [In progress · 771,398/777,472 whole pixels on one processor, 771,548 on eight, 58/60 settings rendered](parity-fixes.md#whole-and-saved-outputs-for-noise-dirt-3-v2) · [Earlier comparison · 17/19 whole outputs, 136,738/141,568 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | | [noise_dirt_4.sbs/dirt_4](../assets/sbs/noise_dirt_4.sbs) | 0 | Yes | [In progress · 10/19 whole renders completed, 89,052/105,728 exact pixels](parity-fixes.md#discarding-pattern-stamps-that-miss-every-output-sample) · [Recovered 16 × 32 F32 setting, 512/512 exact pixels on one processor](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) · [Original stage comparisons](parity-fixes.md#dirt-noise-sources-and-downstream-stages) |