From 02b23a29adf60be83ae51f4decb95354da74815c Mon Sep 17 00:00:00 2001 From: chasse20 Date: Thu, 26 Nov 2026 16:18:17 -0500 Subject: [PATCH] Defer tiled subtrees until their receiving batch fills --- crates/nodes/src/pattern/mixed_depth_runs.rs | 38 ++++++++----- crates/nodes/src/pattern/tests.rs | 37 ++++++++++++ crates/nodes/src/pattern/tile_runs.rs | 10 ++-- docs/parity-fixes.md | 59 ++++++++++++++++++++ docs/sbs-root-nodes.md | 10 ++-- 5 files changed, 131 insertions(+), 23 deletions(-) diff --git a/crates/nodes/src/pattern/mixed_depth_runs.rs b/crates/nodes/src/pattern/mixed_depth_runs.rs index d072500d..4fcb239e 100644 --- a/crates/nodes/src/pattern/mixed_depth_runs.rs +++ b/crates/nodes/src/pattern/mixed_depth_runs.rs @@ -220,28 +220,38 @@ fn tiled_pair_continuation(five_batches: bool) -> Vec<(usize, usize)> { static FIVE_BATCH_CONTINUATION: LazyLock> = LazyLock::new(|| tiled_pair_continuation(true)); static FOUR_BATCH_CONTINUATION: LazyLock> = LazyLock::new(|| tiled_pair_continuation(false)); -// If the cut before parent 18,432 falls before parent 18,368, three -// pending subtrees start before the later quadrant. The receiving cut at -// parent 29,824 determines which half of that quadrant is still pending. -fn receiving_pair_continuation(past_middle: bool) -> Vec<(usize, usize)> { +enum ReceivingBatch { + FirstHalf, + SecondHalf, + DeferredPair, +} + +// Three pending subtrees start before the later quadrant when the cut +// before 18,432 falls before 18,368. If the pair ending at 31,936 cannot +// fill the receiving batch, it resumes in the run that returns to 21,120. +fn receiving_pair_continuation(receiver: ReceivingBatch) -> Vec<(usize, usize)> { + let first_half = matches!(receiver, ReceivingBatch::FirstHalf); + let deferred = matches!(receiver, ReceivingBatch::DeferredPair); let mut ordered = PAIRED_GRANDCHILDREN.to_vec(); ordered.sort_unstable_by_key(|&(_, rank)| rank); let mut ends = Vec::with_capacity(ordered.len()); for (end, _) in ordered { match end { // Physical batch ends can move into another 64-parent subtree. + 24452 if !first_half => ends.push(24449), 28612 => ends.push(28545), 22276 => ends.push(22465), 18380 => ends.push(18305), - 29832 if !past_middle => ends.push(29823), + 29832 if first_half => ends.push(29823), 30920 => ends.push(30849), - 31056 => ends.push(if past_middle { 30977 } else { 31041 }), - // The first two unfinished batches now precede the receiving cut. - 24576 => ends.extend([20480, 31873, end]), - 30080 if !past_middle => ends.push(29888), - 29952 if !past_middle => ends.extend([29824, end]), + 31056 => ends.push(if first_half { 31041 } else { 30977 }), + 24576 if !deferred => ends.extend([20480, 31873, end]), + 30080 if first_half => ends.push(29888), + 29952 if first_half => ends.extend([29824, end]), 24768 => ends.extend([22528, end]), - 30144 => ends.extend([31936, if past_middle { end } else { 30080 }]), + // The pending pair can finish exactly at the end of its second subtree. + 21120 if deferred => ends.extend([20993, 20480, 31936, 30081, end]), + 30144 if !deferred => ends.extend([31936, if first_half { 30080 } else { end }]), // These parts moved above or joined the preceding full batch. 22528 | 24648 | 21068 | 20480 | 31936 | 30084 => {} _ => ends.push(end), @@ -250,8 +260,9 @@ fn receiving_pair_continuation(past_middle: bool) -> Vec<(usize, usize)> { continued_layout(&[], 0, &ends) } -static FIRST_HALF_RECEIVER: LazyLock> = LazyLock::new(|| receiving_pair_continuation(false)); -static SECOND_HALF_RECEIVER: LazyLock> = LazyLock::new(|| receiving_pair_continuation(true)); +static FIRST_HALF_RECEIVER: LazyLock> = LazyLock::new(|| receiving_pair_continuation(ReceivingBatch::FirstHalf)); +static SECOND_HALF_RECEIVER: LazyLock> = LazyLock::new(|| receiving_pair_continuation(ReceivingBatch::SecondHalf)); +static DEFERRED_PAIR: LazyLock> = LazyLock::new(|| receiving_pair_continuation(ReceivingBatch::DeferredPair)); #[derive(Default)] pub(super) struct MixedDepthRuns { @@ -408,6 +419,7 @@ impl MixedDepthRuns { FOUR_BATCH_CONTINUATION.as_slice(), FIRST_HALF_RECEIVER.as_slice(), SECOND_HALF_RECEIVER.as_slice(), + DEFERRED_PAIR.as_slice(), self.layout, ]; let (selected, bounds) = diff --git a/crates/nodes/src/pattern/tests.rs b/crates/nodes/src/pattern/tests.rs index 02f8cf3f..33b688ec 100644 --- a/crates/nodes/src/pattern/tests.rs +++ b/crates/nodes/src/pattern/tests.rs @@ -897,6 +897,43 @@ fn a_receiving_tile_batch_can_cross_the_middle_of_its_quadrant() { } } +#[test] +fn tiled_receiving_order_survives_an_earlier_cut_in_the_preceding_quadrant() { + // Parents 32,139 and 29,680 overlap after the eight-batch cut moves + // into the 64-parent subtree preceding parent 24,448. + let value = two_tree_copy_field_readout([113, 107], [92, 92], |group| match group { + 236 => 76, + 256 => 156, + 308 | 352 => 85, + 320 => 169, + 439 => 132, + 480 => 37, + 488 => 105, + _ => 0, + }); + assert_eq!(value, f32::EPSILON * 0.25); +} + +#[test] +fn tiled_receiving_order_defers_two_subtrees_until_the_batch_fits() { + // At 83 the pending pair returns after parent 21,055. At 84 the + // batch fits exactly, putting parent 31,935 before parent 24,452. + for (extra, negative, small) in [(83, [71, 23], [48, 56]), (84, [103, 111], [114, 56]), (85, [103, 111], [114, 56])] { + let value = two_tree_copy_field_readout(negative, small, |group| match group { + 234 => 70, + 260 => 141, + 320 => 191, + 440 => 145, + 450 => 62, + 480 => 24, + 488 => 126, + 497 => extra, + _ => 0, + }); + assert_eq!(value, f32::EPSILON * 0.25, "receiving batch with {extra} extra copies in subtree 497"); + } +} + #[test] fn fixed_image_draws_follow_the_quadrant_runs_when_both_axes_tile() { for (grandchildren, axes) in [(false, 0), (false, 3), (true, 3)] { diff --git a/crates/nodes/src/pattern/tile_runs.rs b/crates/nodes/src/pattern/tile_runs.rs index a10da0c1..da16cf47 100644 --- a/crates/nodes/src/pattern/tile_runs.rs +++ b/crates/nodes/src/pattern/tile_runs.rs @@ -478,14 +478,14 @@ impl TileCopies { return self.subtree_ends.get(42).zip(self.subtree_ends.get(44)).is_some_and(|(&before, &after)| before < cut && cut < after); } if self.subtree_ends.len() == TWO_DEEP_TREES { - // The fifth batch can fill group 87 exactly. A receiving batch - // can likewise fill exactly the first half of group 116. - if parents == 351 * DEPTH_FOUR_PARENTS + 1 || parents == 466 * DEPTH_FOUR_PARENTS - 1 { + // A full batch can land on the end of group 87, the middle of + // group 116, or the end of the pending pair at parent 31,936. + if parents == 351 * DEPTH_FOUR_PARENTS + 1 || parents == 466 * DEPTH_FOUR_PARENTS - 1 || parents == 498 * DEPTH_FOUR_PARENTS + 1 { return self.subtree_ends.get(subtree - 1).zip(self.subtree_ends.get(subtree)).is_some_and(|(&lower, &upper)| lower < cut && cut <= upper); } - // The preceding batch and the later cut in group 120 can each + // The earlier cuts and the later cut in group 120 can each // fall on either side of an interior subtree boundary. - if parents == 348 * DEPTH_FOUR_PARENTS + 1 || parents == 483 * DEPTH_FOUR_PARENTS + 1 { + if parents == 348 * DEPTH_FOUR_PARENTS + 1 || parents == 382 * DEPTH_FOUR_PARENTS + 1 || 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); } } diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 41433ded..11a700ca 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -59,6 +59,65 @@ The first pass classifies all 546 roots: 166 Parity and 380 Too hard. These meas ## 2026-11-26 root comparisons +### Deferring two tiled subtrees until a quadrant batch fills + +When two tiled FX-Map trees share a batch, an earlier split can fall in the preceding 64-parent subtree. A later pair of subtrees resumes at a different position if it cannot fill the receiving batch. This occurs with additive procedural shapes and connected image stamps. The shared evaluator uses the number of physical copies submitted by each subtree. + +Open Noise Dirt 1 with graph tiling enabled, set scale to 1 and use the dimensions, seed and disorder below. Enable non-square expansion except at seed 785357. Request the listed storage on the node supplying the output. Save normally outside the package library, reopen directly in both applications and compare the stored pixels. Counts are exact pixels / pixels compared, followed by maximum error. Integer errors are measured in storage levels. + +| F32 dimensions · seed · disorder | Previous on one processor | Corrected on one | Corrected on eight | Ordinary save on one | +|---|---:|---:|---:|---:| +| 32 × 16 · 649503 · 0.53125 | 501/512 · 1.1920929e-07 | 512/512 · 0 | 496/512 · 1.1920929e-07 | 512/512 · 0 | +| 64 × 32 · 649541 · 0.8125 | 2,044/2,048 · 5.96046448e-08 | 2,044/2,048 · 5.96046448e-08 | 1,989/2,048 · 1.1920929e-07 | 2,045/2,048 · 5.96046448e-08 | +| 128 × 64 · 649603 · 0.21875 | 7,988/8,192 · 1.1920929e-07 | 8,192/8,192 · 0 | 7,958/8,192 · 1.1920929e-07 | 8,184/8,192 · 5.96046448e-08 | +| 32 × 16 · 785317 · 0.71875 | 496/512 · 5.96046448e-08 | 512/512 · 0 | 493/512 · 5.96046448e-08 | 512/512 · 0 | +| 64 × 32 · 785327 · 0.40625 | 2,002/2,048 · 5.96046448e-08 | 2,048/2,048 · 0 | 1,990/2,048 · 5.96046448e-08 | 2,048/2,048 · 0 | +| 128 × 64 · 785339 · 0.625 | 8,006/8,192 · 1.1920929e-07 | 8,192/8,192 · 0 | 7,968/8,192 · 5.96046448e-08 | 8,192/8,192 · 0 | +| 64 × 128 · 785357 · 0.09375 | 8,192/8,192 · 0 | 8,192/8,192 · 0 | 7,873/8,192 · 1.1920929e-07 | 8,192/8,192 · 0 | + +At the four new seeds, render U16 and F32 at every size, adding U8 and F16 at 32 × 16 and 64 × 32. The originals now match all 12 settings on one processor. All 12 ordinary saves have the same local raw hashes and match their reopened reference. The eight-processor captures match seven complete settings. + +| Format | Previous on one | Corrected on one | Corrected on eight | Ordinary save on one | +|---|---:|---:|---:|---:| +| U8 | 2,560/2,560 · 0 | 2,560/2,560 · 0 | 2,560/2,560 · 0 | 2,560/2,560 · 0 | +| U16 | 18,943/18,944 · 1 | 18,944/18,944 · 0 | 18,942/18,944 · 1 | 18,944/18,944 · 0 | +| F16 | 2,560/2,560 · 0 | 2,560/2,560 · 0 | 2,560/2,560 · 0 | 2,560/2,560 · 0 | +| F32 | 18,696/18,944 · 1.1920929e-07 | 18,944/18,944 · 0 | 18,324/18,944 · 1.1920929e-07 | 18,944/18,944 · 0 | + +Including the earlier geometries, this run checked 41 originals and their 41 ordinary saves. Rerun the [five earlier F32 geometries](#the-receiving-half-of-a-quadrant-in-two-tiled-trees) and the [earlier U8, U16 and F16 geometries](#four-full-batches-in-two-tiled-quadrant-trees) with the same settings. Each local original reproduces its saved raw buffer. + +| All 41 settings by format | Previous on one | Corrected on one | Corrected on eight | Ordinary save on one | +|---|---:|---:|---:|---:| +| U8 · 9 settings | 33,792/33,792 · 0 | 33,792/33,792 · 0 | 33,791/33,792 · 1 | 33,792/33,792 · 0 | +| U16 · 11 settings | 50,175/50,176 · 1 | 50,176/50,176 · 0 | 50,172/50,176 · 1 | 50,176/50,176 · 0 | +| F16 · 9 settings | 33,792/33,792 · 0 | 33,792/33,792 · 0 | 33,792/33,792 · 0 | 33,792/33,792 · 0 | +| F32 · 12 settings | 82,476/82,944 · 1.1920929e-07 | 82,939/82,944 · 5.96046448e-08 | 80,373/82,944 · 1.1920929e-07 | 82,933/82,944 · 5.96046448e-08 | + +In the [60-setting Dirt series](#expanded-image-and-save-comparisons-for-dirt-1-and-dirt-2), the earlier visit counts identify 13 settings per graph with two complete outer trees. Recheck all 13, plus seven settings covering one, four, eight, nine and 36 outer trees. Recheck the four archived ordinary saves per graph selected by the same geometries, including three with two trees. Each cell gives exact complete images / images rendered and exact pixels / pixels compared. + +| Graph | Previous originals on one | Corrected originals on one | Corrected originals on eight | Archived saves on one | +|---|---:|---:|---:|---:| +| Noise Dirt 1 | 15/20 · 153,462/154,368 | 16/20 · 153,516/154,368 | 10/20 · 152,459/154,368 | 3/4 · 39,338/39,424 | +| Noise Dirt 2 | 20/20 · 154,368/154,368 | 20/20 · 154,368/154,368 | 18/20 · 154,366/154,368 | 4/4 · 39,424/39,424 | + +For Noise Dirt 1, the U8 / U16 / F16 / F32 maxima are 0 / 1 / 0 / 1.1920929e-07 on one processor, 0 / 1 / 0 / 1.1920929e-07 on eight and 0 / 0 / — / 5.96046448e-08 for the archived saves. +For Noise Dirt 2, the U8 / U16 / F16 / F32 maxima are 0 / 0 / 0 / 0 on one processor, 0 / 0 / 0 / 2.52090394e-05 on eight and 0 / 0 / — / 0 for the archived saves. + +The only changed raw hash in these 48 comparisons was Noise Dirt 1 at 64 × 32, seed 299403, scale 1, zero disorder and expansion enabled. Its one-processor F32 score improved from 1,994/2,048 · 5.96046448e-08 to 2,048/2,048 · 0. A new ordinary save gives 2,048/2,048 · 0. The previous complete 60-setting comparisons for both graphs remain recorded separately. + +Noise Dirt 1 v2 also changes at 64 × 32. Use seed 299446, scale 1, zero disorder and anisotropy, zero angle and tile offset, unit disorder speed and expansion enabled. Compare this setting with the other five [tiled v2 settings](#whole-untiled-dirt-relatives-and-the-depth-seven-iteration). The other five return their previous local hashes. The F32 result moved from 1,981/2,048 · 1.1920929e-07 to 2,048/2,048 · 0 on one processor and from 1,993/2,048 · 5.96046448e-08 to 1,964/2,048 · 1.1920929e-07 on eight. The ordinary save moved from 1,989/2,048 · 1.1920929e-07 to 2,036/2,048 · 5.96046448e-08. + +For Noise Dirt 5, repeat the [two tiled .34375 rectangles](#the-receiving-half-of-a-quadrant-in-two-tiled-trees) across all four formats. The one-processor result improved from 6/8 · 40,958/40,960 to 8/8 · 40,960/40,960. All eight ordinary saves also match every pixel. The corrected U16 word at (92,40) is 24,511. On eight processors 4/8 · 40,949/40,960 match. The U8 / U16 / F16 / F32 maxima on eight processors are 0 / 4 / 6.10351562e-05 / 5.08278608e-05. + +For the isolation, start with the [two-tree additive-square field](#four-full-batches-in-two-tiled-quadrant-trees). Distribute an added copy per parent in local Y then X order within each group of 64, starting another pass when necessary. Number the 32,768 drawing parents from zero. On a white background give the earlier of two marked parents tint −1 and the later tint 2⁻²⁵. Read the common pixel in F32 and repeat with the two tints reversed. + +- Give groups 234, 260, 320, 440, 450, 480 and 488 exactly 70, 141, 191, 145, 62, 24 and 126 extra copies. Give group 497 successively 83, 84 and 85. At 83, parent 21,055 draws before 20,352. At 84 and 85, parent 31,935 draws before 24,452. At the first two thresholds the previous release returned zero on the relevant marker. The corrected release returns 2⁻²⁵ at all three. +- Give groups 236, 256, 308, 320, 439, 480 and 488 exactly 76, 156, 85, 169, 132, 37 and 105 extras. Give group 352 successively 83, 84 and 85. The earlier batch can cross the boundary at parent 24,448. At 85, marking parents 32,139 and 29,680 gives 2⁻²⁵ instead of the previous zero. All 65,534 signed neighboring comparisons matched in the separate sparse field at 85. Three differences in the first read of the opposite polarity also matched in two repeat captures. + +Two root-derived fields, eight independently perturbed fields and six newly generated weighted or sparse fields each match all 65,534 signed comparisons in their original reference reads. For the perturbations, apply 100 random −1, 0 or +1 group updates with PCG64 seed 807143 and distribute each group's nonnegative total uniformly across its 64 parents. For the second seed 391073, the three weighted fields contain 1,703, 1,543 and 1,847 extras. The three sparse fields contain 898, 851 and 935. The separate 16-field release comparison uses two root-derived fields, six new generated fields, six boundary fields and two earlier controls. For every field compare both complete 256² images from the even and odd adjacent pairs. Results are 2,097,152/2,097,152 · 0 for originals and 2,097,152/2,097,152 · 0 for ordinary saves. + +In four alternating single-processor cold release runs at 128 × 64 and seed 649603, median cook time moved from 6.57 to 6.25 seconds and median peak working set from 235.6 to 249.9 MiB. Both new normal-cook regressions failed on the preceding implementation. All 574 node and evaluator release tests, formatting, strict workspace Clippy, layers and WebAssembly passed. + ### Whole untiled Dirt relatives and the depth-seven iteration Set graph tiling to absolute with both axes off. At 16 × 32 use seed 649211 and disorder .3125. At 32 × 64 use seed 649229 and disorder .78125. Enable non-square expansion. Use scale 1 on the three graphs exposing it. For each geometry render U8, U16, F16 and F32, then save the graph normally outside the package library and open that file directly in both applications. Compare the builds immediately before and after the [two-tree untiled draw-order change](#unfinished-draws-across-two-untiled-quadrant-trees). Cells give exact settings / settings rendered and exact pixels / pixels compared. diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index 6af487f1..5945dc82 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 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 wider Noise Dirt 1 originals match 10,239/10,240 F32 pixels on one processor. Their ordinary saves match all 10,240. [Receiving quadrant, independent fields and Noise Dirt 5 comparisons](parity-fixes.md#the-receiving-half-of-a-quadrant-in-two-tiled-trees) Three additional tall Noise Dirt 1 images and their saves match 43,008/43,008 F32 pixels on one processor. [Four-batch threshold and rectangular comparisons](parity-fixes.md#four-full-batches-in-two-tiled-quadrant-trees) [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, Noise Dirt 5 and Noise Dirt Gradient each match eight additional settings and their ordinary saves, 10,240/10,240 pixels per graph. [Five related roots, iteration counts and remaining errors](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) 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) +Noise Dirt 1 matches all 43,008 pixels in 12 further settings and Noise Dirt 5 all 40,960 in eight, both on one processor and after ordinary saves. Noise Dirt 1 v2 at 64 × 32 also improved from 1,981 to 2,048 exact F32 pixels. [Tiled subtrees, threshold controls and eight-processor scores](parity-fixes.md#deferring-two-tiled-subtrees-until-a-quadrant-batch-fills) 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 wider Noise Dirt 1 originals match 10,239/10,240 F32 pixels on one processor. Their ordinary saves match all 10,240. [Receiving quadrant, independent fields and Noise Dirt 5 comparisons](parity-fixes.md#the-receiving-half-of-a-quadrant-in-two-tiled-trees) Three additional tall Noise Dirt 1 images and their saves match 43,008/43,008 F32 pixels on one processor. [Four-batch threshold and rectangular comparisons](parity-fixes.md#four-full-batches-in-two-tiled-quadrant-trees) [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, Noise Dirt 5 and Noise Dirt Gradient each match eight additional settings and their ordinary saves, 10,240/10,240 pixels per graph. [Five related roots, iteration counts and remaining errors](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) 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,14 +452,14 @@ 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 · 41/60 whole tiled settings on one processor, two additional wide saves match 10,240/10,240 F32 pixels](parity-fixes.md#the-receiving-half-of-a-quadrant-in-two-tiled-trees) · [Earlier comparison · 41/60 whole tiled originals on one, 32/60 on eight, three additional tall F32 originals and saves exact](parity-fixes.md#four-full-batches-in-two-tiled-quadrant-trees) · [Five-batch tiled comparison](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 · 6/8 additional untiled originals on one, 6/8 on eight and all twelve iteration controls exact](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) · [Earlier comparison · 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 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_1.sbs/dirt_1](../assets/sbs/noise_dirt_1.sbs) | 0 | Yes | [In progress · 12 additional settings exact on one processor and on ordinary saves, 7/12 on eight](parity-fixes.md#deferring-two-tiled-subtrees-until-a-quadrant-batch-fills) · [Earlier comparison · 41/60 whole tiled settings on one processor, two additional wide saves match 10,240/10,240 F32 pixels](parity-fixes.md#the-receiving-half-of-a-quadrant-in-two-tiled-trees) · [Earlier comparison · 41/60 whole tiled originals on one, 32/60 on eight, three additional tall F32 originals and saves exact](parity-fixes.md#four-full-batches-in-two-tiled-quadrant-trees) · [Five-batch tiled comparison](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 · 64 × 32 F32 control improved to 2,048/2,048 on one processor, 2,036/2,048 on its save](parity-fixes.md#deferring-two-tiled-subtrees-until-a-quadrant-batch-fills) · [Earlier comparison · 6/8 additional untiled originals on one, 6/8 on eight and all twelve iteration controls exact](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) · [Earlier comparison · 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 · all 20 selected originals and four archived save buffers reproduce the earlier measurements](parity-fixes.md#deferring-two-tiled-subtrees-until-a-quadrant-batch-fills) · [Earlier comparison · 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) | | [noise_dirt_4_v2.sbs/dirt_4](../assets/sbs/noise_dirt_4_v2.sbs) | 0 | No | [In progress · 5/19 whole renders completed, 99,535/99,584 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) | -| [noise_dirt_5.sbs/dirt_5](../assets/sbs/noise_dirt_5.sbs) | 0 | Yes | [In progress · 8/8 additional untiled originals on one, 5/8 on eight, 8/8 ordinary saves](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) · [Earlier comparison · six of eight additional wide settings exact on one processor, both 128 × 64 formats match all 8,187 invariant locations](parity-fixes.md#the-receiving-half-of-a-quadrant-in-two-tiled-trees) · [Earlier comparison · 48/60 whole settings rendered, 701,551/701,696 pixels on one processor, 701,572 on eight](parity-fixes.md#sixty-whole-settings-for-three-directional-and-dirt-noise-packages) · [Recovered 32 × 16 F32 setting, 512/512 exact pixels on one processor](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) · [Earlier comparison · 32² now exact](parity-fixes.md#deep-pattern-samples-in-custom-render-and-tiling-regions) · [Earlier matrix](parity-fixes.md#dirt-noise-sources-and-downstream-stages) · [64² precision and remaining traversal limits](parity-fixes.md#precision-of-two-dense-noise-generators-in-custom-regions) | +| [noise_dirt_5.sbs/dirt_5](../assets/sbs/noise_dirt_5.sbs) | 0 | Yes | [In progress · eight additional tiled settings and ordinary saves match 40,960/40,960 pixels on one processor, 4/8 settings on eight](parity-fixes.md#deferring-two-tiled-subtrees-until-a-quadrant-batch-fills) · [Earlier comparison · 8/8 additional untiled originals on one, 5/8 on eight, 8/8 ordinary saves](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) · [Earlier comparison · six of eight additional wide settings exact on one processor, both 128 × 64 formats match all 8,187 invariant locations](parity-fixes.md#the-receiving-half-of-a-quadrant-in-two-tiled-trees) · [Earlier comparison · 48/60 whole settings rendered, 701,551/701,696 pixels on one processor, 701,572 on eight](parity-fixes.md#sixty-whole-settings-for-three-directional-and-dirt-noise-packages) · [Recovered 32 × 16 F32 setting, 512/512 exact pixels on one processor](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) · [Earlier comparison · 32² now exact](parity-fixes.md#deep-pattern-samples-in-custom-render-and-tiling-regions) · [Earlier matrix](parity-fixes.md#dirt-noise-sources-and-downstream-stages) · [64² precision and remaining traversal limits](parity-fixes.md#precision-of-two-dense-noise-generators-in-custom-regions) | | [noise_dirt_5_v2.sbs/dirt_5](../assets/sbs/noise_dirt_5_v2.sbs) | 0 | No | [In progress · 6/8 additional untiled originals on one, 6/8 on eight, 6/8 ordinary saves](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) · [Earlier comparison · 11/19 whole outputs, 107,341/107,776 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) · [Recovered 32 × 16 F32 setting, 457/512 exact pixels on one processor](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) | | [noise_dirt_gradient.sbs/dirt_gradient](../assets/sbs/noise_dirt_gradient.sbs) | 0 | Yes | [In progress · 8/8 additional untiled originals on one, 7/8 on eight, 8/8 ordinary saves](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) · [Earlier comparison · 60/60 originals have now rendered across the recorded passes](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) · [Earlier comparison · 58/60 whole settings rendered, 653,612/654,592 pixels on one processor, 653,621 on eight](parity-fixes.md#sixty-whole-settings-for-three-directional-and-dirt-noise-packages) · [Earlier comparison · 19/19 whole outputs, 141,554/142,592 pixels](parity-fixes.md#dirt-noise-sources-and-downstream-stages) | | [noise_dirt_gradient_v2.sbs/dirt_gradient](../assets/sbs/noise_dirt_gradient_v2.sbs) | 0 | No | [In progress · 1/8 additional untiled originals on one, 2/8 on eight, 1/8 ordinary saves](parity-fixes.md#whole-untiled-dirt-relatives-and-the-depth-seven-iteration) · [Earlier comparison · 40/60 whole settings rendered, 428,169/464,640 exact pixels on one processor, 434,967 on eight](parity-fixes.md#sixty-whole-renders-after-correcting-the-inner-iterator) · [Recovered 32 × 16 F32 setting, 361/512 exact pixels on one processor](parity-fixes.md#rectangular-dirt-family-settings-recovered-by-the-shared-evaluator) · [Nested initial branch, 704/704 middle-stage samples](parity-fixes.md#initial-branch-of-a-nested-pattern-iterator) · [Earlier 19 outputs](parity-fixes.md#dirt-noise-sources-and-downstream-stages) · [Single-tree final stage, 2,816/2,816 F32 pixels with wrapping off](parity-fixes.md#single-branch-controls-in-complete-quadrant-trees) |