mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-28 17:19:17 +01:00
Complete carried copy batches from neighboring quadrant branches
This commit is contained in:
1 parent
76bdeeb913
commit
1ff949457a
4 files changed
+189
-13
No files matched your search
@@ -252,6 +252,25 @@ fn outer_iteration_retains_its_batches_through_a_routing_node() {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_carried_middle_pair_precedes_the_remaining_first_tree_quadrant() {
|
||||
let pixel = marked_tree_pixel((3, 60), (3, 2), Continuation::InactiveBranch(10), &[], Some([2, 1]), None);
|
||||
assert_eq!(pixel.to_bits(), 2.0_f32.powi(-25).to_bits());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_first_tree_batch_keeps_its_place_before_carried_quadrants() {
|
||||
let pixel = |negative, positive, passes| marked_tree_pixel(negative, positive, Continuation::InactiveBranch(10), &[34], Some(passes), Some(1));
|
||||
assert_eq!(pixel((3, 60), (2, 6), [1, 2]).to_bits(), 2.0_f32.powi(-25).to_bits());
|
||||
assert_eq!(pixel((2, 6), (3, 2), [2, 1]).to_bits(), 2.0_f32.powi(-25).to_bits());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_next_collecting_quadrant_reaches_the_second_tree() {
|
||||
let pixel = marked_tree_pixel((3, 50), (3, 7), Continuation::InactiveBranch(10), &[], Some([2, 1]), None);
|
||||
assert_eq!(pixel.to_bits(), 2.0_f32.powi(-25).to_bits());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn filled_quadrant_batches_submit_the_middle_pair_before_the_upper_pair() {
|
||||
assert_eq!(filled_quadrant_pixel(10, 2, Continuation::None).to_bits(), 2.0_f32.powi(-25).to_bits());
|
||||
|
||||
@@ -30,6 +30,8 @@ const LAST_CHILD_GROUP: usize = 4;
|
||||
const COLLECTING_GROUPS: [usize; 4] = [0, 1, 2, LAST_CHILD_GROUP];
|
||||
// The three leading pairs carry unfinished copy batches into the following tree.
|
||||
const REPEATED_GROUPS: [usize; 3] = [6, 5, 7];
|
||||
// The first two children of the last depth-two quadrant share a separate batch.
|
||||
const LAST_QUADRANT_PAIR: usize = 3;
|
||||
const RANGES_PER_CHILD: usize = 1 + 4 * 5;
|
||||
const RANGES_PER_TREE: usize = 4 * RANGES_PER_CHILD;
|
||||
|
||||
@@ -59,9 +61,10 @@ struct FollowingPair {
|
||||
children: usize,
|
||||
second_child_tail: [u32; 2],
|
||||
third_child: u32,
|
||||
third_child_branches: [u32; 4],
|
||||
fourth_child: u32,
|
||||
fourth_child_branches: [u32; 4],
|
||||
deferred_subtrees: [u32; 4],
|
||||
fourth_child_grandchildren: [u32; 8],
|
||||
}
|
||||
|
||||
impl FollowingPair {
|
||||
@@ -75,12 +78,12 @@ impl FollowingPair {
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
4 if self.children == 3 => self.third_child_branches[(visits_at_depth - 1) % 4] = copies,
|
||||
4 if self.children == 4 => self.fourth_child_branches[(visits_at_depth - 1) % 4] = copies,
|
||||
5 if self.children == 2 => self.second_child_tail = [self.second_child_tail[1], copies],
|
||||
5 if self.children == 4 => {
|
||||
// Consecutive subtrees of the second branch join separate later batches.
|
||||
let child = (visits_at_depth - 1) % 16;
|
||||
if let Some(offset) = child.checked_sub(4).and_then(|i| self.deferred_subtrees.get_mut(i)) {
|
||||
if let Some(offset) = self.fourth_child_grandchildren.get_mut(child) {
|
||||
*offset = copies;
|
||||
}
|
||||
}
|
||||
@@ -100,6 +103,8 @@ enum TrackedSpan {
|
||||
Collecting(usize, usize),
|
||||
Middle(usize),
|
||||
Next(usize),
|
||||
LastQuadrantPair(usize),
|
||||
NextCollecting(usize),
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
@@ -137,6 +142,9 @@ pub(super) struct UnderfilledQuadrants {
|
||||
pairs: Vec<QuadrantPair>,
|
||||
collecting: [CollectingGroup; COLLECTING_GROUPS.len()],
|
||||
repeated: [RepeatedPair; REPEATED_GROUPS.len()],
|
||||
last_quadrant_pair: [CopyPositions; 2],
|
||||
next_pair_gap: Range<u32>,
|
||||
next_collecting: [CopyPositions; 3],
|
||||
tracked_span: Option<TrackedSpan>,
|
||||
graph_depth: u32,
|
||||
active_deep_draws: usize,
|
||||
@@ -148,6 +156,12 @@ impl UnderfilledQuadrants {
|
||||
}
|
||||
|
||||
fn tracked_span(&self, group: usize, span: usize) -> Option<TrackedSpan> {
|
||||
if self.graph_depth == 10 && group == LAST_QUADRANT_PAIR && (1..=2).contains(&self.visits[0]) {
|
||||
return Some(TrackedSpan::LastQuadrantPair(self.visits[0] - 1));
|
||||
}
|
||||
if self.graph_depth == 10 && self.visits[0] == 2 && group == COLLECTING_GROUPS[0] {
|
||||
return Some(TrackedSpan::NextCollecting(span));
|
||||
}
|
||||
if self.visits[0] == 1
|
||||
&& let Some(slot) = COLLECTING_GROUPS.iter().position(|&g| g == group)
|
||||
{
|
||||
@@ -178,6 +192,14 @@ impl UnderfilledQuadrants {
|
||||
return self.starts.len() == (*visits - 1) * RANGES_PER_TREE;
|
||||
}
|
||||
if depth > 3 {
|
||||
if depth == 4 && matches!(self.tracked_span, Some(TrackedSpan::LastQuadrantPair(1))) {
|
||||
// The next tree defers the third branch of the first quadrant in this pair.
|
||||
match (*visits - 1) % 8 {
|
||||
2 => self.next_pair_gap.start = self.last_quadrant_pair[1].total,
|
||||
3 => self.next_pair_gap.end = self.last_quadrant_pair[1].total,
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
if depth <= 5
|
||||
&& let Some(TrackedSpan::Collecting(slot, 2)) = self.tracked_span
|
||||
{
|
||||
@@ -255,6 +277,8 @@ impl UnderfilledQuadrants {
|
||||
TrackedSpan::Collecting(slot, index) => &mut self.collecting[slot].spans[index],
|
||||
TrackedSpan::Middle(slot) => &mut self.repeated[slot].middle,
|
||||
TrackedSpan::Next(slot) => &mut self.repeated[slot].next,
|
||||
TrackedSpan::LastQuadrantPair(tree) => &mut self.last_quadrant_pair[tree],
|
||||
TrackedSpan::NextCollecting(index) => &mut self.next_collecting[index],
|
||||
};
|
||||
if positions.record(count, retained).is_none() {
|
||||
return false;
|
||||
@@ -342,9 +366,9 @@ impl UnderfilledQuadrants {
|
||||
return Some(());
|
||||
}
|
||||
let first_group = &self.collecting[0];
|
||||
let deferred = &first_group.pair.deferred_subtrees;
|
||||
let deferred = &first_group.pair.fourth_child_grandchildren[4..];
|
||||
let branch_start = self.span_start(0, COLLECTING_GROUPS[0], 2)?;
|
||||
let mut runs = Vec::with_capacity(12);
|
||||
let mut runs = Vec::with_capacity(REPEATED_GROUPS.len());
|
||||
for (slot, &group) in REPEATED_GROUPS.iter().enumerate() {
|
||||
let subtree = LEADING_SUBTREES[slot];
|
||||
let pair = self.pairs.get(subtree / 8)?;
|
||||
@@ -370,12 +394,120 @@ impl UnderfilledQuadrants {
|
||||
let available = carried.checked_add(repeated.next.total)?;
|
||||
let next_copies = repeated.next.total.checked_sub(available % COPIES_PER_BATCH)?;
|
||||
let end = *self.starts.get((subtree / 16 + 1) * RANGES_PER_CHILD)?;
|
||||
runs.push((pair.cut?, DrawPosition { stamp: end, copy: 0 }));
|
||||
runs.push(Self::copy_range(middle_start, middle, range)?);
|
||||
runs.push(Self::copy_range(branch_start, &first_group.spans[2], branch)?);
|
||||
runs.push(Self::copy_range(self.span_start(1, group, 0)?, &repeated.next, 0..next_copies)?);
|
||||
runs.push([
|
||||
(pair.cut?, DrawPosition { stamp: end, copy: 0 }),
|
||||
Self::copy_range(middle_start, middle, range)?,
|
||||
Self::copy_range(branch_start, &first_group.spans[2], branch)?,
|
||||
Self::copy_range(self.span_start(1, group, 0)?, &repeated.next, 0..next_copies)?,
|
||||
]);
|
||||
}
|
||||
if self.graph_depth == 10 {
|
||||
return self.append_last_quadrant_pair(leading, runs);
|
||||
}
|
||||
leading.extend(runs.into_iter().flatten());
|
||||
Some(())
|
||||
}
|
||||
|
||||
fn append_copy_window(
|
||||
pieces: &[(usize, &CopyPositions, Range<u32>)],
|
||||
mut skip: u32,
|
||||
mut count: u32,
|
||||
leading: &mut Vec<(DrawPosition, DrawPosition)>,
|
||||
) -> Option<()> {
|
||||
for (start, span, range) in pieces {
|
||||
if count == 0 {
|
||||
return Some(());
|
||||
}
|
||||
let length = range.end.checked_sub(range.start)?;
|
||||
let offset = skip.min(length);
|
||||
skip -= offset;
|
||||
let take = count.min(length - offset);
|
||||
if take != 0 {
|
||||
let begin = range.start + offset;
|
||||
leading.push(Self::copy_range(*start, span, begin..begin + take)?);
|
||||
count -= take;
|
||||
}
|
||||
}
|
||||
(count == 0).then_some(())
|
||||
}
|
||||
|
||||
fn append_last_quadrant_pair(&self, leading: &mut Vec<(DrawPosition, DrawPosition)>, repeated: Vec<[(DrawPosition, DrawPosition); 4]>) -> Option<()> {
|
||||
let [first, next] = &self.last_quadrant_pair;
|
||||
let first_start = self.span_start(0, LAST_QUADRANT_PAIR, 0)?;
|
||||
let next_start = self.span_start(1, LAST_QUADRANT_PAIR, 0)?;
|
||||
let first_group = &self.collecting[0];
|
||||
let second_group = &self.collecting[1];
|
||||
let first_branch = self.span_start(0, COLLECTING_GROUPS[0], 2)?;
|
||||
let second_branch = self.span_start(0, COLLECTING_GROUPS[1], 2)?;
|
||||
let children = &first_group.pair.third_child_branches;
|
||||
let last = &second_group.pair;
|
||||
let gap = &self.next_pair_gap;
|
||||
let pieces = [
|
||||
(first_start, first, 0..first.total),
|
||||
(first_branch, &first_group.spans[2], first_group.pair.third_child..children[0]),
|
||||
(first_branch, &first_group.spans[2], children[2]..first_group.pair.fourth_child),
|
||||
(second_branch, &second_group.spans[2], last.third_child..last.fourth_child),
|
||||
(next_start, next, 0..gap.start),
|
||||
(next_start, next, gap.end..next.total),
|
||||
];
|
||||
let before_last = pieces[..3].iter().try_fold(0u32, |sum, (_, _, range)| sum.checked_add(range.end.checked_sub(range.start)?))?;
|
||||
if before_last >= COPIES_PER_BATCH {
|
||||
// An earlier cut in the first pair can move ahead of the previous submissions.
|
||||
return Some(());
|
||||
}
|
||||
let carried = before_last.checked_add(last.fourth_child.checked_sub(last.third_child)?)?;
|
||||
let early_batches = carried / COPIES_PER_BATCH;
|
||||
if early_batches > 1 {
|
||||
return Some(());
|
||||
}
|
||||
let early = early_batches * COPIES_PER_BATCH;
|
||||
Self::append_copy_window(&pieces, 0, early, leading)?;
|
||||
if early != 0 && before_last.checked_add(last.third_child_branches[3].checked_sub(last.third_child)?)? >= COPIES_PER_BATCH {
|
||||
// Before the last branch, the second and third carried pairs can interleave.
|
||||
leading.extend(repeated.into_iter().take(1).flatten());
|
||||
return Some(());
|
||||
}
|
||||
leading.extend(repeated.into_iter().flatten());
|
||||
let total = carried.checked_add(next.total.checked_sub(gap.end.checked_sub(gap.start)?)?)?;
|
||||
let batches = total / COPIES_PER_BATCH;
|
||||
if !(1..=2).contains(&batches) {
|
||||
return Some(());
|
||||
}
|
||||
Self::append_copy_window(&pieces, early, batches * COPIES_PER_BATCH - early, leading)?;
|
||||
if early == 0 && batches == 1 {
|
||||
self.append_next_collecting_batch(leading)?;
|
||||
}
|
||||
Some(())
|
||||
}
|
||||
|
||||
fn append_next_collecting_batch(&self, leading: &mut Vec<(DrawPosition, DrawPosition)>) -> Option<()> {
|
||||
let first = &self.collecting[0];
|
||||
let first_start = self.span_start(0, COLLECTING_GROUPS[0], 2)?;
|
||||
let tail = &first.spans[2];
|
||||
let pair = &first.pair;
|
||||
let fourth = &pair.fourth_child_branches;
|
||||
let skipped = pair.fourth_child.checked_sub(pair.third_child)?.checked_add(fourth[3].checked_sub(fourth[0])?)?;
|
||||
let size = u32::try_from(first.initial_copies()).ok()?.checked_add(tail.total.checked_sub(skipped)?)?;
|
||||
let remaining = size.checked_sub(2 * COPIES_PER_BATCH)?;
|
||||
if remaining > tail.total.checked_sub(fourth[3])? {
|
||||
return Some(());
|
||||
}
|
||||
let deferred = &pair.fourth_child_grandchildren;
|
||||
let other = &self.collecting[2];
|
||||
let [own, children, next_pair] = &self.next_collecting;
|
||||
let pieces = [
|
||||
(first_start, tail, tail.total - remaining..tail.total),
|
||||
(self.span_start(0, COLLECTING_GROUPS[2], 2)?, &other.spans[2], other.pair.third_child..other.pair.fourth_child),
|
||||
(first_start, tail, deferred[0]..deferred[1]),
|
||||
(self.span_start(1, COLLECTING_GROUPS[0], 0)?, own, 0..own.total),
|
||||
(self.span_start(1, COLLECTING_GROUPS[0], 1)?, children, 0..children.total),
|
||||
(self.span_start(1, COLLECTING_GROUPS[0], 2)?, next_pair, 0..next_pair.total),
|
||||
];
|
||||
let before_pair = pieces[..5].iter().try_fold(0u32, |sum, (_, _, range)| sum.checked_add(range.end.checked_sub(range.start)?))?;
|
||||
if before_pair < COPIES_PER_BATCH {
|
||||
// The first batch completes in the second tree's pair. Later draws can change order at this cut.
|
||||
Self::append_copy_window(&pieces, 0, COPIES_PER_BATCH, leading)?;
|
||||
}
|
||||
leading.extend(runs);
|
||||
Some(())
|
||||
}
|
||||
|
||||
|
||||
@@ -59,6 +59,31 @@ The first pass classifies all 546 roots: 166 Parity and 380 Too hard. These meas
|
||||
|
||||
## 2026-11-25 root comparisons
|
||||
|
||||
### Copy batches from the final quadrant pair and the following group
|
||||
|
||||
Build the [eight-level additive square tree](#full-copy-batches-spanning-successive-quadrant-trees) with two outer repetitions and an inactive branch extending to connected depth ten. Number quadrants at each depth from zero in child-slot order within each tree. The first tree contributes both depth-three subtrees 60 and 61, subtree 18’s own draw and its last two children, and all of subtree 34. With one copy per square these three pieces contribute 2,730, 683 and 1,365 copies. The second tree supplies the next 682 from subtrees 60 and 61, deferring the third child of 60. The resulting 5,460 copies fill one batch. Sixteen original copy distributions with two, three or four repetitions agree on 9,092/9,092 signed comparisons for this part of the order. [Shared quadrant renderer](../crates/nodes/src/pattern/underfilled_quadrants.rs)
|
||||
|
||||
When the first tree contributes 5,459 copies, all 225 sampled orders agree in each of two settings. At exactly 5,460, the batch submits before the three pairs carried from the first tree. Placing it after those pairs gives 72 wrong orders out of 224. Adding 3,798 extra wrapped copies within second-pass subtree 61 fills two batches. All 360 sampled orders agree in that setting. Wrapping all 1,024 final squares of first-pass subtree 34 adds 3,072 copies. Its first batch precedes the carried pairs, but the second and third carried pairs can interleave. Only the first carried pair has an established position at that cut.
|
||||
|
||||
For a separate pixel test use the white background, .875 squares and the [published gains, seeds, sizes and four storage formats](#full-copy-batches-spanning-successive-quadrant-trees). Put the negative square in second-pass depth-three subtree 60 and the positive square in first-pass subtree 2. At 32² F32 the pixel at (8,8) changes from zero to 2⁻²⁵. Moving the 1,024 final squares of first-pass subtree 34 to the tile corner gives two more tests. First place the negative square in first-pass subtree 60 and the positive square in second-pass depth-two quadrant 6. Then place the negative square in that quadrant and the positive square in first-pass subtree 2. Both reference pixels read 2⁻²⁵. [Renderer regressions](../crates/nodes/src/pattern/tests/underfilled_quadrants.rs)
|
||||
|
||||
If the first tree carries fewer than 5,460 copies and the second tree completes one batch, a further stream starts with the copies left in the first collecting group. It receives first-pass subtree 2, the first depth-five branch under the first child of subtree 19, second-pass depth-two quadrant 12 and its last two child subtrees, then second-pass quadrants 4 and 5. The renderer submits the first 5,460 copies when this stream reaches the second-pass pair before filling. In a separate two-square graph use second-pass subtree 50 and first-pass subtree 7 for the negative and positive squares. At 32² F32 the reference reads 2⁻²⁵, and the previous renderer read zero. Later batches and streams that fill before reaching this pair remain under investigation.
|
||||
|
||||
Across the 86 Spots 1 settings the one-processor comparison gains 1,058 exact pixels. Twenty-three settings improve and 49 match in full. The eight-processor comparison loses 92 pixels. Seven settings improve, thirteen decline and 38 match in full. One of the 19 ordinary saves gains seven pixels, with 15 matching in full. [Preceding comparison and capture settings](#carrying-the-third-quadrant-pair-through-an-outer-iteration)
|
||||
|
||||
| Storage | One processor · exact pixels · maximum | Eight processors · exact pixels · maximum | Reopened · exact pixels · maximum |
|
||||
|---|---:|---:|---:|
|
||||
| U8 | 108,800/108,800 · 0 | 108,799/108,800 · 1 | 90,112/90,112 · 0 |
|
||||
| U16 | 328,391/328,448 · 1 | 328,248/328,448 · 1 | 93,692/93,696 · 1 |
|
||||
| F16 | 108,800/108,800 · 0 | 108,798/108,800 · .00048828125 | 6,400/6,400 · 0 |
|
||||
| F32 | 273,068/295,680 · 2.38418579e−7 | 231,686/295,680 · 3.57627869e−7 | 5,964/6,144 · 1.19209290e−7 |
|
||||
|
||||
The reproducible 128 × 512 U16 regression at (106,171) is resolved. Seed 411869, scale 2, roughness and disorder .53125, with non-square expansion disabled, now gives 45,824 and F32 0.6992377638816833. The 128² pixel at (44,98), seed 411747, scale 3, roughness and disorder .65625, retains 23,266 and F32 0.3550243079662323. Each value matches four original and four reopened reference captures. At 16 × 32 F32 and seed zero, four original and four reopened captures improve from 460 to 469/512, maximum 1.19209290e−7 each. At 64 × 32, 1,686 of the 1,832 invariant original pixels match and 1,578 of the 1,679 invariant reopened pixels match, up by three in each case. [Settings for the repeated frames](#bounded-work-for-empty-terminal-quadrants)
|
||||
|
||||
The seven unwrapped two-square configurations match 28,672/28,672 pixels across the four formats, for originals and again for ordinary saves. Six of seven configurations with wrapped squares also match in full. When both first-pass subtrees 34 and 61 wrap, 4,056/4,096 pixels match on each side and the finite error reaches 2⁻⁷⁴. The six configurations marking the following group match all 24,576 original pixels and all 24,576 reopened pixels. Eight graphs that mark later draws give 32,759/32,768 on each side, maximum 2⁻²⁵. The earlier depth-nine and eleven probes still differ on two pixels. All three new Rust regressions failed before their corresponding changes.
|
||||
|
||||
The 397 earlier procedural controls retain 1,294,336/1,294,336 pixels, and 44 controls with changed leaf connections retain 45,056/45,056. Both maxima are zero. The second version of Spots 1 produces identical raw frames to the previous build in all 87 original settings and 19 saves. Exact agreement remains 831,506/842,752 on one processor, 831,311/842,752 on eight and 137,715/139,008 after reopening. All 519 node and evaluator release tests passed, along with formatting, strict workspace Clippy, dependency layers and WebAssembly. [Second-version maxima by storage format](#full-copy-batches-spanning-successive-quadrant-trees)
|
||||
|
||||
### Carrying the third quadrant pair through an outer iteration
|
||||
|
||||
Use the [eight-level additive square tree](#full-copy-batches-spanning-successive-quadrant-trees) with two repetitions. Extend a connected, inactive branch to depth ten. After the first two pairs continue into the second tree, the third stream takes the remaining copies from first-tree depth-two quadrants 2 and 3, depth-four subtree 78, depth-five subtree 310, then the second tree's depth-two pair 2 and 3. With one copy per draw the carried pieces contain 2, 341 and 85 copies. The second pair contributes 10,492 copies to finish two 5,460-copy batches. [Shared quadrant renderer](../crates/nodes/src/pattern/underfilled_quadrants.rs)
|
||||
|
||||
@@ -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 BNW Spots 1 matches 818,001/841,728 pixels on one processor, 777,623/841,728 on eight and 196,161/196,352 across 19 ordinary saves. Of its 86 original settings, 49 match completely on one processor, including the 128² U16 defaults at seeds 0 and 42. Four original and four reopened captures at 16 × 32 F32 each give 460/512, up from 451/512. Six procedural graphs with a Dot or Switch above the Iterate match all 24,576 original and 24,576 reopened pixels. A one-code U16 regression at 128 × 512 and the order of later draws remain open. [Measurements, reproducible pixel and maximum errors by format](parity-fixes.md#carrying-the-third-quadrant-pair-through-an-outer-iteration) · [Previous comparison](parity-fixes.md#full-copy-batches-spanning-successive-quadrant-trees)
|
||||
Noise BNW Spots 1 matches 819,059/841,728 pixels on one processor, 777,531/841,728 on eight and 196,168/196,352 across 19 ordinary saves. Across 86 original settings, 49 match in full on one processor and 38 on eight. The 128 × 512 U16 regression now matches all eight repeated reference reads at 45,824. Four original and four reopened 16 × 32 F32 captures each improve from 460 to 469/512. The order of later batches and the differences between reference worker counts remain open. [Reproduction and maximum errors by storage format](parity-fixes.md#copy-batches-from-the-final-quadrant-pair-and-the-following-group) · [Earlier routing and draw-order comparisons](parity-fixes.md#carrying-the-third-quadrant-pair-through-an-outer-iteration)
|
||||
|
||||
Nested Curvature, Curvature Smooth and Normal Sobel each match 2,304/2,304 original and 2,304/2,304 reopened pixels. Panorama 3D Position now reopens in the reference desktop and matches 2,304/2,304 pixels across six renders of an ordinary SBS save. Panorama Shape, Shape 2 and Spot each match 2,304/2,304 original and 2,304/2,304 reopened pixels in the same six settings. [Fixed vector arguments and whole-root counts](parity-fixes.md#float-vector-arguments-in-nested-functions) [Save, reopen and desktop comparisons](parity-fixes.md#ordinary-sbs-saves-with-verified-library-dependencies) [Working precision, blur inputs and whole-root counts](parity-fixes.md#output-precision-in-nested-generators-and-blurs)
|
||||
|
||||
@@ -413,8 +413,8 @@ Creased matches 10,947,840/10,947,840 pixels across 100 distinct settings throug
|
||||
| [multiangle_to_normal.sbs/angle_weight](../assets/sbs/multiangle_to_normal.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) |
|
||||
| [noise_anisotropic_noise.sbs/anisotropic_noise](../assets/sbs/noise_anisotropic_noise.sbs) | 0 | Yes | [Parity · 18 renders, all 171,264 pixels exact](parity-fixes.md#quarter-turn-directional-blur) · [Saved graph seed and output-format checks](parity-fixes.md#graph-random-seed-inheritance-on-save-and-in-nested-graphs) |
|
||||
| [noise_anisotropic_noise_v2.sbs/anisotropic_noise_v2](../assets/sbs/noise_anisotropic_noise_v2.sbs) | 0 | No | [Parity · 18 renders, all 171,264 pixels exact](parity-fixes.md#high-pass-anisotropic-noise-and-triangle-grid-controls) |
|
||||
| [noise_bnw_spots_1.sbs/bnw_spots_1](../assets/sbs/noise_bnw_spots_1.sbs) | 0 | Yes | [In progress · 818,001/841,728 on one processor, 777,623/841,728 on eight and 196,161/196,352 in 19 saves](parity-fixes.md#carrying-the-third-quadrant-pair-through-an-outer-iteration) · [Earlier cross-tree measurements](parity-fixes.md#full-copy-batches-spanning-successive-quadrant-trees) · [Neighboring quadrants](parity-fixes.md#physical-copy-batches-across-neighboring-quadrants) · [Ninth-batch comparison](parity-fixes.md#connected-graph-depth-and-the-ninth-quadrant-batch) · [Eighth-batch comparison](parity-fixes.md#the-next-full-batch-in-an-eight-level-quadrant-tree) · [Previous 86-setting comparison and 19 saves](parity-fixes.md#a-full-copy-batch-in-the-last-root-quadrant) · [Earlier six batches](parity-fixes.md#leading-copy-batches-in-complete-quadrant-trees) · [Measured physical copy boundary](parity-fixes.md#physical-copy-boundaries-in-dense-quadrant-subtrees) · [Inactive descendants affect draw order, 21/21 independently replayed F32 values](parity-fixes.md#connected-inactive-descendants-and-dense-quadrant-draw-order) · [Eight additional 64 × 32 F32 isolates cook](parity-fixes.md#bounded-work-for-empty-terminal-quadrants) · [Five levels combined, original and reopened, each 8,192/8,192 F32](parity-fixes.md#wide-first-level-shapes-in-additive-quadrant-trees) · [Depths 3–6 match 32,768/32,768 isolated F32 pixels](parity-fixes.md#submission-order-in-underfilled-eight-level-quadrant-trees) · [Earlier 60-setting comparison](parity-fixes.md#connected-quadrant-depth-and-amplified-spot-patterns) · [Zero roughness exact in U16 and F32](parity-fixes.md#grayscale-pattern-output-at-zero-roughness) · [Draw order, 18 changed-format comparisons](parity-fixes.md#draw-order-for-overlapping-procedural-grayscale-stamps) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit renderer workers and repeatability](parity-fixes.md#patterns-with-an-explicit-reference-worker-count) |
|
||||
| [noise_bnw_spots_1_v2.sbs/bnw_spots_1](../assets/sbs/noise_bnw_spots_1_v2.sbs) | 0 | No | [In progress · 831,506/842,752 on one processor, 831,311/842,752 on eight and 137,715/139,008 in 19 saves](parity-fixes.md#carrying-the-third-quadrant-pair-through-an-outer-iteration) · [Parameters and earlier comparison](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [All 87 original settings and 19 saves rechecked](parity-fixes.md#dense-settings-recovered-in-the-third-spots-graph) · [Depth-local variable writes fixed, 28,082/28,160 on twelve whole guards](parity-fixes.md#inherited-and-writable-variables-across-quadrant-depths) · [Two additional 64 × 32 isolates, each 2,048/2,048 F32](parity-fixes.md#bounded-work-for-empty-terminal-quadrants) · [Levels 7–8, 8,047/8,192 F32 on original, 8,048/8,192 reopened](parity-fixes.md#wide-first-level-shapes-in-additive-quadrant-trees) · [Earlier spot comparison](parity-fixes.md#connected-quadrant-depth-and-amplified-spot-patterns) · [Zero roughness exact in U16 and F32](parity-fixes.md#grayscale-pattern-output-at-zero-roughness) · [Draw order, 18 changed-format comparisons](parity-fixes.md#draw-order-for-overlapping-procedural-grayscale-stamps) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit renderer workers and repeatability](parity-fixes.md#patterns-with-an-explicit-reference-worker-count) |
|
||||
| [noise_bnw_spots_1.sbs/bnw_spots_1](../assets/sbs/noise_bnw_spots_1.sbs) | 0 | Yes | [In progress · 819,059/841,728 on one processor, 777,531/841,728 on eight and 196,168/196,352 in 19 saves](parity-fixes.md#copy-batches-from-the-final-quadrant-pair-and-the-following-group) · [Third carried pair and outer routing](parity-fixes.md#carrying-the-third-quadrant-pair-through-an-outer-iteration) · [Earlier cross-tree measurements](parity-fixes.md#full-copy-batches-spanning-successive-quadrant-trees) · [Neighboring quadrants](parity-fixes.md#physical-copy-batches-across-neighboring-quadrants) · [Ninth-batch comparison](parity-fixes.md#connected-graph-depth-and-the-ninth-quadrant-batch) · [Eighth-batch comparison](parity-fixes.md#the-next-full-batch-in-an-eight-level-quadrant-tree) · [Previous 86-setting comparison and 19 saves](parity-fixes.md#a-full-copy-batch-in-the-last-root-quadrant) · [Earlier six batches](parity-fixes.md#leading-copy-batches-in-complete-quadrant-trees) · [Measured physical copy boundary](parity-fixes.md#physical-copy-boundaries-in-dense-quadrant-subtrees) · [Inactive descendants affect draw order, 21/21 independently replayed F32 values](parity-fixes.md#connected-inactive-descendants-and-dense-quadrant-draw-order) · [Eight additional 64 × 32 F32 isolates cook](parity-fixes.md#bounded-work-for-empty-terminal-quadrants) · [Five levels combined, original and reopened, each 8,192/8,192 F32](parity-fixes.md#wide-first-level-shapes-in-additive-quadrant-trees) · [Depths 3–6 match 32,768/32,768 isolated F32 pixels](parity-fixes.md#submission-order-in-underfilled-eight-level-quadrant-trees) · [Earlier 60-setting comparison](parity-fixes.md#connected-quadrant-depth-and-amplified-spot-patterns) · [Zero roughness exact in U16 and F32](parity-fixes.md#grayscale-pattern-output-at-zero-roughness) · [Draw order, 18 changed-format comparisons](parity-fixes.md#draw-order-for-overlapping-procedural-grayscale-stamps) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit renderer workers and repeatability](parity-fixes.md#patterns-with-an-explicit-reference-worker-count) |
|
||||
| [noise_bnw_spots_1_v2.sbs/bnw_spots_1](../assets/sbs/noise_bnw_spots_1_v2.sbs) | 0 | No | [In progress · 831,506/842,752 on one processor, 831,311/842,752 on eight and 137,715/139,008 in 19 saves](parity-fixes.md#copy-batches-from-the-final-quadrant-pair-and-the-following-group) · [Parameters and earlier comparison](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [All 87 original settings and 19 saves rechecked](parity-fixes.md#dense-settings-recovered-in-the-third-spots-graph) · [Depth-local variable writes fixed, 28,082/28,160 on twelve whole guards](parity-fixes.md#inherited-and-writable-variables-across-quadrant-depths) · [Two additional 64 × 32 isolates, each 2,048/2,048 F32](parity-fixes.md#bounded-work-for-empty-terminal-quadrants) · [Levels 7–8, 8,047/8,192 F32 on original, 8,048/8,192 reopened](parity-fixes.md#wide-first-level-shapes-in-additive-quadrant-trees) · [Earlier spot comparison](parity-fixes.md#connected-quadrant-depth-and-amplified-spot-patterns) · [Zero roughness exact in U16 and F32](parity-fixes.md#grayscale-pattern-output-at-zero-roughness) · [Draw order, 18 changed-format comparisons](parity-fixes.md#draw-order-for-overlapping-procedural-grayscale-stamps) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit renderer workers and repeatability](parity-fixes.md#patterns-with-an-explicit-reference-worker-count) |
|
||||
| [noise_bnw_spots_3.sbs/bnw_spots_3](../assets/sbs/noise_bnw_spots_3.sbs) | 0 | Yes | [In progress · six more settings render, 49,131/49,152 on one processor, 49,132/49,152 on eight](parity-fixes.md#dense-settings-recovered-in-the-third-spots-graph) · [Earlier 48 settings, 671,452/671,744 pixels on one processor, 671,526/671,744 on eight](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [Earlier spot comparison](parity-fixes.md#deep-pattern-samples-in-custom-render-and-tiling-regions) · [Earlier matrix](parity-fixes.md#bnw-spots-3-and-cells-1-pattern-sources) · [64² precision and remaining traversal limits](parity-fixes.md#precision-of-two-dense-noise-generators-in-custom-regions) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [Explicit worker counts](parity-fixes.md#branch-offsets-center-culling-and-two-dense-spot-graphs) · [Four-format square and reopened comparisons](parity-fixes.md#two-dense-spots-packages-across-storage-formats) |
|
||||
| [noise_bnw_spots_3_v2.sbs/bnw_spots_3](../assets/sbs/noise_bnw_spots_3_v2.sbs) | 0 | No | [In progress · 16 of 32 blocked settings now render, 185,202/193,536 on one processor and 184,698/193,536 on eight](parity-fixes.md#recovered-settings-in-the-second-version-of-the-third-spots-graph) · [Three recovered saves, 5,999/6,144](parity-fixes.md#recovered-settings-in-the-second-version-of-the-third-spots-graph) · [Dense 32² comparison](parity-fixes.md#bounded-work-for-terminal-quadrant-siblings) · [Earlier comparison · 339,986/347,136 pixels on one processor, 341,093/347,136 on eight · 30 of 62 settings rendered](parity-fixes.md#whole-root-precision-and-saved-comparisons-for-the-three-neighboring-spot-graphs) · [Earlier spot comparison](parity-fixes.md#bnw-spots-3-and-cells-1-pattern-sources) · [12 settings and four attempted reopens](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) · [bounded stage counts at scale two](parity-fixes.md#four-cloud-noise-generators-and-repeated-saved-file-comparisons) · [Explicit worker counts](parity-fixes.md#branch-offsets-center-culling-and-two-dense-spot-graphs) · [Dense F32 traversal and worker repeats](parity-fixes.md#dense-quadrant-traversal-and-reference-worker-counts) · [Four-format square and reopened comparisons](parity-fixes.md#two-dense-spots-packages-across-storage-formats) |
|
||||
| [noise_cells_1.sbs/cells_1](../assets/sbs/noise_cells_1.sbs) | 0 | Yes | [Parity · 928,000/928,000 pixels across 88 distinct settings on one and eight processors](parity-fixes.md#inverting-the-stored-pixel-projection-in-scaled-stamp-regions) · [Earlier scaled-window comparisons](parity-fixes.md#projecting-stamp-vertices-relative-to-pixel-centers-in-scaled-windows) · [Earlier root comparisons](parity-fixes.md#bnw-spots-3-and-cells-1-pattern-sources) · [717,776/729,344 pixels in 60 settings at one and eight processors](parity-fixes.md#moisture-spot-and-cell-fields-across-processors-and-saved-packages) |
|
||||
|
||||
Reference in new issue
Block a user