From c3bd12d660e080198e346c985641e9079ee44fa6 Mon Sep 17 00:00:00 2001 From: chasse20 Date: Fri, 27 Nov 2026 17:27:52 -0500 Subject: [PATCH] Trace a dense dirt output difference to one input level --- docs/parity-fixes.md | 25 +++++++++++++++++++++++++ docs/sbs-root-nodes.md | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 592409d8..1b9216f4 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -452,6 +452,31 @@ For each of U8, U16, F16 and F32, set the connected background bridge to that pr The seven measured roots with an input-relative pattern and a connected background retain their recorded results. Bevel Smooth's position helper retains 354,560/354,560 pixels on both original and saved paths. Paths Trace retains 73,984/73,984 original and 28,928/28,928 saved pixels, and the irradiance UV helper retains 16,384/16,384 on each route. The two newer Tile Random roots retain 180,224/180,224 and the two older roots retain 484,864/484,864 on the originals and again on ordinary saves. +### A one-level pattern change before Sharpen in Dirt 4 v2 + +At 128 × 32, seed 433595, the graph renders a U8 pattern at 64 × 16 before Sharpen produces the full-size output. Alternate the changed rectangular setting with 32² at seed 113 and read each node directly on three returns at one processor and three at eight. The six pattern buffers have two distinct images. They agree at 1,023/1,024 texels, with 142 or 143 at (52,6). The six F32 graph outputs also have two distinct images. They agree at 4,064/4,096 pixels, with a maximum difference of .00407773256. The word returned by a separate node read can vary between evaluations. [Whole-root seeds and parameters](#repeated-f32-captures-of-28-noise-roots) + +To isolate the filter, retain its original properties and the drawing input’s size function. Use a 64 × 16 U8 field with value ((17x + 37y + 3xy + 29) mod 211) + 12. Compare center values 142 and 143 at (52,6). In a second pair place the following five-by-five neighborhood around that texel, varying only the center. Coordinates start at the first row and column in the raw buffer. + +```text +51 140 62 142 31 +173 136 96 0 0 +78 185 142 93 0 +104 47 86 18 0 +0 105 136 66 110 +``` + +All sixteen procedural outputs match **65,536/65,536** pixels in each reference processor configuration, maximum zero. Their U8 input reads match the supplied fields at **16,384/16,384** texels. Configure and save the two neighborhood inputs separately in each storage format. Both applications reopen the eight saved callers at their stored settings with **32,768/32,768** exact output pixels and maximum zero. + +| Output storage | Pixels unchanged when 142 becomes 143 | Maximum change | +|---|---:|---:| +| U8 | 4,086/4,096 | 3 | +| U16 | 4,067/4,096 | 267 | +| F16 | 4,065/4,096 | 0.0048828125 | +| F32 | 4,064/4,096 | 0.00407773256 | + +The F32 difference covers 32 pixels from (102,10) to (107,15). At (104,12) the values are .678542137 and .682619870. Each isolated input reproduces **32/32** affected whole-root values for its respective observed output. Subtracting the two complete isolated buffers reproduces the whole-root difference at **4,096/4,096** pixels, maximum error zero. MaterialCraft’s measured release still reaches its execution budget drawing the intact 128 × 32 root. The isolated filter comparisons use complete renders. + ### Dense seeded quadrants in Moisture Noise and Dirt 4 Moisture Noise at 128 × 32, seed 433959, now renders under the existing execution limits. The intact root matches **16,384/16,384 stored pixels** across U8, U16, F16 and F32 on both one and eight reference processors. Saving each configured format and reopening it before any edit gives another **16,384/16,384** on each processor count. Maximum error is zero. Each of the two U16 pattern stages independently matches 4,096/4,096 pixels in the same graph. Both stages previously stopped before producing an image. diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index b9615c7d..1545c47c 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -508,7 +508,7 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug | [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) · [6/6 tiled settings render, 4 exact on one processor](parity-fixes.md#tiled-outputs-of-ten-noise-roots-and-the-full-wood-fibers-2-series) · [8/8 untiled settings render](parity-fixes.md#untiled-spots-clouds-directional-noise-and-dirt-at-two-rectangular-sizes) · [Five F32 returns per processor count at 16²](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) | | [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) · [6/6 tiled settings render, 4 exact on one processor](parity-fixes.md#tiled-outputs-of-ten-noise-roots-and-the-full-wood-fibers-2-series) · [8/8 untiled settings render](parity-fixes.md#untiled-spots-clouds-directional-noise-and-dirt-at-two-rectangular-sizes) · [Five F32 returns per processor count at 16²](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) | | [noise_dirt_4.sbs/dirt_4](../assets/sbs/noise_dirt_4.sbs) | 0 | Yes | [In progress · 1,536/1,536 with both equal-size Sharpen modes and 384/384 on F16 reopens](parity-fixes.md#half-precision-inputs-to-sharpen) · [Earlier comparison · 6/8 complete additional settings on one processor, 8/8 on eight and 7/8 ordinary saves](parity-fixes.md#recovered-dirt-4-and-moisture-renders-at-seed-113) · [Earlier comparison · 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) · [32 × 16, U8 and F32 exact on both processor counts](parity-fixes.md#dense-seeded-quadrants-in-moisture-noise-and-dirt-4) · [Five F32 returns per processor count at 16²](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) | -| [noise_dirt_4_v2.sbs/dirt_4](../assets/sbs/noise_dirt_4_v2.sbs) | 0 | No | [In progress · 32 × 16 at seed 105532, 2,048/2,048 across four formats](parity-fixes.md#bound-arithmetic-in-seeded-quadrant-properties) · [Previous comparison · 1,536/1,536 with both equal-size Sharpen modes and 384/384 on F16 reopens](parity-fixes.md#half-precision-inputs-to-sharpen) · [Earlier comparison · 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) · [Earlier 32 × 16 work limit at seed 105532](parity-fixes.md#dense-seeded-quadrants-in-moisture-noise-and-dirt-4) · [Five F32 returns per processor count at 128 × 32](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) | +| [noise_dirt_4_v2.sbs/dirt_4](../assets/sbs/noise_dirt_4_v2.sbs) | 0 | No | [In progress · 128 × 32 reference variation isolated to one U8 texel, whole cook still reaches its limit](parity-fixes.md#a-one-level-pattern-change-before-sharpen-in-dirt-4-v2) · [Earlier comparison · 32 × 16 at seed 105532, 2,048/2,048 across four formats](parity-fixes.md#bound-arithmetic-in-seeded-quadrant-properties) · [Previous comparison · 1,536/1,536 with both equal-size Sharpen modes and 384/384 on F16 reopens](parity-fixes.md#half-precision-inputs-to-sharpen) · [Earlier comparison · 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) · [Earlier 32 × 16 work limit at seed 105532](parity-fixes.md#dense-seeded-quadrants-in-moisture-noise-and-dirt-4) · [Five F32 returns per processor count at 128 × 32](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) | | [noise_dirt_5.sbs/dirt_5](../assets/sbs/noise_dirt_5.sbs) | 0 | Yes | [In progress · all 60 originals and 12 archived saves render, 31/60 exact on one processor and 30/60 on eight](parity-fixes.md#shared-branch-expressions-and-all-sixty-noise-dirt-5-renders) · [Single-tree F32 comparison, 5,120/5,120 on one processor and after reopening](parity-fixes.md#a-complete-quadrant-tree-with-one-physical-copy-per-draw) · [Earlier comparison · 58/60 tiled whole settings render, all ten recovered settings also measured after ordinary saves](parity-fixes.md#ten-recovered-whole-noise-dirt-5-settings) · [Earlier comparison · 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) · [Five F32 returns per processor count at 32²](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) | | [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) · [Five F32 returns per processor count at 16²](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) | | [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) · [Five F32 returns per processor count at 16 × 32](parity-fixes.md#repeated-f32-captures-of-28-noise-roots) |