diff --git a/crates/nodes/src/function/program.rs b/crates/nodes/src/function/program.rs index c02485c6..77c9ca33 100644 --- a/crates/nodes/src/function/program.rs +++ b/crates/nodes/src/function/program.rs @@ -86,12 +86,7 @@ impl Program { fn random_stream(&self, context: &EvaluationContext<'_>) -> FunctionRandom { let seed = context.variables.get("$randomseed").and_then(Value::as_i32).map_or(self.seed, |seed| seed as u32); if context.scope == super::FunctionScope::PixelProcessor { - // Each pixel owns a deterministic stream, independent of worker scheduling - let x = (context.position[0] * context.size[0]).floor() as u32; - let y = (context.position[1] * context.size[1]).floor() as u32; - FunctionRandom::image(crate::random::hash( - seed ^ crate::random::hash(x.wrapping_add(0x9e37_79b9)) ^ crate::random::hash(y.wrapping_add(0x85eb_ca6b)), - )) + FunctionRandom::pixel(seed, context.position) } else if context.scope == super::FunctionScope::FxMap { FunctionRandom::image(seed) } else { diff --git a/crates/nodes/src/function/tests.rs b/crates/nodes/src/function/tests.rs index 0efa3003..f7c76689 100644 --- a/crates/nodes/src/function/tests.rs +++ b/crates/nodes/src/function/tests.rs @@ -793,6 +793,29 @@ fn measured_pixel_reciprocals_preserve_runtime_rounding() { } } +#[test] +fn pixel_random_starts_at_the_normalized_texel_center_and_graph_seed() { + let mut graph = FunctionGraph::default(); + let one = graph.add_constant(Value::Float(1.0)); + graph.output = Some(graph.add("rand", &[one], None)); + for (seed, width, height, x, y, first_draw) in + [(0, 32, 32, 0, 0, 6_046_590), (0, 32, 32, 16, 1, 1_903_037), (1, 32, 32, 31, 31, 6_085_635), (42, 32, 16, 16, 1, 3_941_566)] + { + let context = EvaluationContext { + scope: super::FunctionScope::PixelProcessor, + position: [(x as f32 + 0.5) / width as f32, (y as f32 + 0.5) / height as f32], + size: [width as f32, height as f32], + images: &[], + image_formats: &[], + tile: true, + variables: &BTreeMap::new(), + }; + let program = compile(&graph, seed).unwrap(); + let value = program.evaluate_pixel(&context, &mut EvaluationState::default()).unwrap(); + assert_eq!(value, Value::Float(first_draw as f32 / 8_388_608.0)); + } +} + #[test] fn measured_pixel_random_draws_share_one_stream() { let mut graph = FunctionGraph::default(); diff --git a/crates/nodes/src/random.rs b/crates/nodes/src/random.rs index 1bca3b92..5c3ff562 100644 --- a/crates/nodes/src/random.rs +++ b/crates/nodes/src/random.rs @@ -1,14 +1,3 @@ -// Lowbias32 integer hash by Chris Wellons, public domain -#[inline] -pub fn hash(mut x: u32) -> u32 { - x ^= x >> 16; - x = x.wrapping_mul(0x7feb_352d); - x ^= x >> 15; - x = x.wrapping_mul(0x846c_a68b); - x ^= x >> 16; - x -} - #[derive(Clone, Copy)] pub(crate) struct FunctionRandom { state: u32, @@ -26,6 +15,17 @@ impl FunctionRandom { Self { state, multiplier: 3_626_811, increment: 51_137, uniform: false } } + /// Jenkins one-at-a-time mixing over the graph seed and the two normalized F32 coordinate words. + pub(crate) fn pixel(seed: u32, position: [f32; 2]) -> Self { + let mut hash = 0_u32; + for word in [seed, position[0].to_bits(), position[1].to_bits()] { + let mixed = hash.wrapping_add(word).wrapping_mul(1025); + hash = mixed ^ (mixed >> 6); + } + let mixed = hash.wrapping_mul(9); + Self::image((mixed ^ (mixed >> 11)).wrapping_mul(32769)) + } + /// Each of these pattern properties starts its own sequence at the traversal seed. pub(crate) fn pattern(state: u32, property: &str) -> Option { let (multiplier, increment) = match property { diff --git a/docs/parity-fixes.md b/docs/parity-fixes.md index 6fb1c0eb..6e6de98e 100644 --- a/docs/parity-fixes.md +++ b/docs/parity-fixes.md @@ -1042,6 +1042,49 @@ Every row includes the four original defaults, seed and parameter renders, the 6 The trapezoid pair each has two remaining differences across the archived and new comparisons. The [four-format inventory](#four-format-inventory-comparison) lists the original changed settings and port names. +### Per-pixel random initialization + +The first four calls to `rand(1)` at pixel (0,0) of a 32² graph give (6046590,4572138,703596,3572932) / 2²³ at seed zero. At seed one they give (3086392,1966280,4339094,3323762) / 2²³. At (16,1) of a 32×16 graph, seed 42 gives (3941566,2846122,6888364,1390724) / 2²³. These observations distinguish the graph seed, position, resolution and draw order. + +Start a 32-bit hash at zero. In order, mix the integer graph seed and the F32 bit patterns of the normalized texel center ((x+.5)/width,(y+.5)/height). For each word, set `t=(h+word)×1025` and `h=t XOR (t >> 6)`. Finish with `t=h×9` and `s=(t XOR (t >> 11))×32769`. All products and sums wrap to 32 bits. Use the low 24 bits of s to start the [measured pixel draw sequence](#pixel-processor-random-draws). This is the word-wise form of the public one-at-a-time mixing operation. [Bob Jenkins, Hash Functions](https://burtleburtle.net/bob/hash/doobs.html) + +All **95,512/95,512 RGBA32F pixels in 337 direct renders** match, maximum component error zero. The earlier 13 four-draw images and 16 fan-out and scaling controls account for 53,568 pixels. For 288 new controls, set absolute width×height to 1×1, 1×2, 1×8, 1×32, 1×256, 2×1, 2×2, 8×1, 8×2, 8×8, 32×1 or 256×1. Use parent side 16 and seeds 0–5, 7, 8, 16, 17, 31, 32, 42, 127, 128, 255, 256, 257, 4095, 65535, 65536 and 16777216. Repeat seed zero at parent sides 32 and 64. The last 20 controls use 64×8, 8×64, 16×128 and 128×16 at seeds 0, 73, 983, 879201 and 16777217. + +| Root | Renders | Exact pixels / compared | Maximum U8 / U16 levels | Maximum F16 / F32 error | +|---|---:|---:|---:|---:| +| Volume environment light | 39 | 31,387/31,488 | 0 / 0 | 0 / 0.000266551971 | +| 3D Worley noise | 34 | 312,832/312,832 | 0 / 0 | 0 / 0 | +| Dissolve | 28 | 183,040/183,040 | 0 / 0 | 0 / 0 | +| Diffusion RGBA pass | 19 | 143,872/143,872 | 0 / 0 | 0 / 0 | +| Diffusion UV pass | 19 | 143,872/143,872 | 0 / 0 | 0 / 0 | +| Diffusion grayscale pass | 19 | 143,872/143,872 | 0 / 0 | 0 / 0 | +| Diffusion normal pass | 19 | 143,872/143,872 | 0 / 0 | 0 / 0 | +| Flood Fill random color | 19 | 143,501/143,872 | 0 / 1 | 0 / 1.52587891e-05 | +| Flood Fill random grayscale | 19 | 143,795/143,872 | 0 / 1 | 0 / 1.52587891e-05 | +| Flood Fill 2 color | 19 | 143,858/143,872 | 0 / 1 | 0 / 1.42455101e-05 | +| Flood Fill 2 grayscale | 19 | 143,871/143,872 | 0 / 0 | 0 / 5.96046448e-06 | +| Flood Fill 2 random color | 19 | 143,487/143,872 | 0 / 1 | 0 / 1.52587891e-05 | +| Flood Fill 2 random grayscale | 19 | 143,800/143,872 | 0 / 1 | 0 / 1.52587891e-05 | +| Shape Splatter blend | 18 | 171,264/171,264 | 0 / 0 | 0 / 0 | +| Shape Splatter blend color | 23 | 204,032/204,032 | 0 / 0 | 0 / 0 | +| Shape Splatter to mask | 4 | 114,688/114,688 | — / — | — / 0 | +| White Noise fast | 18 | 127,488/127,488 | 0 / 0 | 0 / 0 | +| White Noise v2 | 19 | 104,036/143,872 | 165 / 39351 | 0.600250244 / 0.751115441 | + +The root counts include each root's archived and four-format measurements where available. The earlier measurements specify the [Worley position fields](#3d-volume-mask-and-worley-noise) and [Dissolve inputs](#segment-mapping-and-normal-graph-rechecks). The [volume](#volume-density-dithering-and-color-temperature-controls) and [splatter](#plane-light-splatter-symmetry-and-waveform-comparisons) comparisons give the additional held-out fields for those roots. The remaining 101 environment-light differences are F32. In the 32² density ramp, 987/1,024 pixels match and the maximum error is .000266551971. The mask row covers its four archived F32 renders. + +For Worley, Dissolve, the four diffusion passes, six flood-fill outputs and both white noises, add ten renders apiece. At 16² use defaults and seed 17. Use variant A at 32² in U8, U16, F16 and F32 with seed 137. Use variant B at 64²/413 and with a 32×16 field on a 32² graph/673. Use A with a constant 32² field/733, C with a signed 16² field/839, and A again at 32²/1237. All six single-format cases use F32. The two noise generators have no image input. For image pin j (one-based in declared probe order) and zero-based channel c, use H=((79x+53y+11xy+113j+73c+3xc) mod 1019)/1018. A grayscale pin uses channel zero. The constant is (.375,.625,.1875,.8125) and the signed field is 2.5H−.875. Worley uses normalized texel center (u,v) and position (u,v,.5+.25 sin(2π(u+v)),1). For flood-fill cell input, let sx=max(2,floor(width/5)), sy=max(3,floor(height/3)). Store (((x mod sx)+.5)/sx,((y mod sy)+.5)/sy,sx/width,sy/height) and zero cells where (floor(x/sx)+3floor(y/sy)) mod 7 is zero. Constant and signed cases replace these fields. Dissolve pin order is foreground, background, mask. For diffusion it is input/reference/mask/direction (RGBA), input (UV), input/reference/intensity (grayscale) and input/reference (normal). Flood Fill 2 color and grayscale take the cell input first and the color or grayscale field second. + +| Parameter | A | B | C | +|---|---|---|---| +| Worley scale, mode, style, invert | 9,1,0,off | 13,2,1,off | 3,3,2,on | +| Dissolve opacity, alpha blending | .5625,on | .3125,off | .8125,on | +| Diffusion iter, nbIter, dither, normal | 2,5,on,off | 4,7,off,off | 0,3,on,on | +| Flood Fill 2 color/grayscale filtering | 1 | 0 | 1 | +| White Noise v2 distribution, disorder, speed | 1,.375,.625 | 0,.8125,1.25 | 1,.1875,.375 | + +For Worley also set size (.75,1.25,1.5), Minkowski number .6875, border width .1875 and roundness .3125. Set optional diffusion controls where exposed. For Flood Fill 2 color use HSL adjustment (.125,−.1875,.25) and random range (.375,.625,.1875). For its grayscale equivalent use luminance adjustment −.1875 and random range .625. The random flood-fill outputs and fast white noise have no additional exposed numeric changes in these controls. Each residual flood-fill difference is at most one U16 level or .0000152587891 in F32. Uniform noise selects the measured per-texel stream. The Gaussian distribution in White Noise v2 still diverges. + ### Source image depth and the three noise upscalers | Root | Renders | Exact grayscale pixels before | Exact grayscale pixels after / compared | Maximum error after | @@ -1973,7 +2016,7 @@ Here i is the row-major pixel index. The first-octant fit is quartic in the smal Emit four independent calls to `rand(1)` as RGBA32F. In the reference app the four values recover a unique initial 24-bit state at each of **27,968/27,968 pixels**. Advance the state with `s=(3626811*s+51137) mod 2^24` and return `floor(s/2)/2^23`. The four outputs then match at every pixel, maximum error zero. Use square canvases of sides 8, 16, 32, 64 and 128 at seed zero, also 32² at seeds 1, 2, 42 and 137, and 32×16 and 16×32 at seeds zero and 42. The first 32² pixel starts from 9,091,073 at seed zero and 3,342,178 at seed 42. -Four additional original graphs replicate a single draw to RGBA, reuse two draws in alternating channels, double a reused draw, or apply ranges 1, 1, −2 and .375 to successive draws. At 16², 32² and 64² with seed zero and 32² with seed 42, all **25,600/25,600 reference pixels** agree with the corresponding channel expressions, maximum error zero. The MaterialCraft evaluator now matches the progression given the recovered initial state. Its mapping from pixel position and graph seed to that state remains open. For example, the native and CPU four-draw images at 32² still match 0/1,024 entire pixels at seeds zero and 42, with maximum component errors .995849967 and .989675045. +Four additional original graphs replicate a single draw to RGBA, reuse two draws in alternating channels, double a reused draw, or apply ranges 1, 1, −2 and .375 to successive draws. At 16², 32² and 64² with seed zero and 32² with seed 42, all **25,600/25,600 reference pixels** agree with the corresponding channel expressions, maximum error zero. The MaterialCraft evaluator now matches the progression given the recovered initial state. Before the [per-pixel initialization fix](#per-pixel-random-initialization), the native and CPU four-draw images at 32² matched 0/1,024 entire pixels at seeds zero and 42, with maximum component errors .995849967 and .989675045. ### Color conversion, checker and clone @@ -2755,7 +2798,7 @@ Use the first-pass linear position texture. For side `N`, store RGBA8 `(floor(25 **Mask.** The 128² cylinder with default rotation, size and feathering gives 16,379/16,384 exact LUM16 pixels, with maximum error 1. The RGBA16 position bridge matches all 16,384 pixels. In LUM32F, changing only cylinder rotation gives 564/16,384 (1.907349e-6), only size gives 14,088/16,384 (9.536743e-7), and only feather width gives 13,716/16,384 (3.814697e-6). A cube with `position_input=1` and `position_worldspace=(.375,.375,.5)` matches 16,384/16,384 float pixels exactly. -**Worley.** With a constant input position of `(0,0,0,255)`, no LUM32F pixel matches in the 32² default case at seed 0 (maximum .02120566) or seed 42 (.07068205). The graph's internal random table uses four draws. A standalone Pixel Processor writing four successive `rand(1)` values to RGBA16 reproduces a discrepancy before any cell-distance calculation. It gives 0/1,024 exact pixels at 32², seed 0 (maximum 65,122), 0/16,384 at 128², seed 0 (65,136), and 0/16,384 at 128², seed 42 (65,348). At seed 0 the first reference pixel changes with resolution, from `(47238,35719,5497,27913)` to `(37730,56747,64327,4184)`. MaterialCraft returns `(42015,40251,56435,61318)` at both sizes. The random sequence and any residual differences in the distance calculation remain open. +**Worley.** With a constant input position of `(0,0,0,255)`, no LUM32F pixel matches in the 32² default case at seed 0 (maximum .02120566) or seed 42 (.07068205). The graph's internal random table uses four draws. A standalone Pixel Processor writing four successive `rand(1)` values to RGBA16 reproduces a discrepancy before any cell-distance calculation. It gives 0/1,024 exact pixels at 32², seed 0 (maximum 65,122), 0/16,384 at 128², seed 0 (65,136), and 0/16,384 at 128², seed 42 (65,348). At seed 0 the first reference pixel changes with resolution, from `(47238,35719,5497,27913)` to `(37730,56747,64327,4184)`. MaterialCraft returns `(42015,40251,56435,61318)` at both sizes. The subsequent [per-pixel initialization comparison](#per-pixel-random-initialization) covers these settings and the complete 34-render Worley matrix. ### November 17 validation diff --git a/docs/sbs-root-nodes.md b/docs/sbs-root-nodes.md index a28333b5..ae82d164 100644 --- a/docs/sbs-root-nodes.md +++ b/docs/sbs-root-nodes.md @@ -35,7 +35,7 @@ A graph may accept input pins and still be a root under the dependency criterion Statuses: **Not checked**, **In progress**, **Parity** (exact pixels or typed values for the linked measured cases), or **Too hard** (reason recorded). Function calls do not count as regular graph dependencies. -The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard**. The current inventory has **325 Parity**, **60 In progress** and **161 Too hard**. The November 17 and 18 comparisons include raw counts, output formats and remaining differences. [November 17 measurements](parity-fixes.md#2026-11-17-root-comparisons) · [November 18 measurements](parity-fixes.md#2026-11-18-root-comparisons) +The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard**. The current inventory has **334 Parity**, **63 In progress** and **149 Too hard**. The November 17 and 18 comparisons include raw counts, output formats and remaining differences. [November 17 measurements](parity-fixes.md#2026-11-17-root-comparisons) · [November 18 measurements](parity-fixes.md#2026-11-18-root-comparisons) [Grayscale sampler measurements](parity-fixes.md#grayscale-sampling-of-color-inputs) · [Value sampling across 240 typed comparisons](parity-fixes.md#value-processor-texture-filtering) @@ -62,14 +62,14 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard | [3d_texture_position.sbs/3d_texture_position](../assets/sbs/3d_texture_position.sbs) | 0 | No | [Parity: native 4K atlas](parity-fixes.md#verified-cases) | | [3d_texture_render.sbs/3d_texture_surface_render_irradiance](../assets/sbs/3d_texture_render.sbs) | 6 | Yes | [Parity · 47,360 exact pixels in 71 renders](parity-fixes.md#surface-irradiance-and-uniform-power) | | [3d_texture_render.sbs/3d_texture_surface_render_position](../assets/sbs/3d_texture_render.sbs) | 1 | Yes | [Parity · 92,928 exact pixels in 39 renders](parity-fixes.md#surface-position-and-signed-pixel-products) | -| [3d_texture_render.sbs/3d_texture_volume_render_ibl_pass](../assets/sbs/3d_texture_render.sbs) | 6 | Yes | [In progress · 7,898/31,488 pixels, first dithered step differs](parity-fixes.md#pixel-products-carried-through-vector-lanes-and-calls) | +| [3d_texture_render.sbs/3d_texture_volume_render_ibl_pass](../assets/sbs/3d_texture_render.sbs) | 6 | Yes | [In progress · 39 renders, 31,387/31,488 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [3d_texture_render.sbs/3d_texture_volume_render_light_pass](../assets/sbs/3d_texture_render.sbs) | 4 | Yes | [Parity · 46 renders, all 43,264 RGBA pixels exact](parity-fixes.md#vector-products-in-the-direct-light-pass) | | [3d_texture_render.sbs/position_debug](../assets/sbs/3d_texture_render.sbs) | 2 | Yes | [Parity · 14 sphere and plane cases](parity-fixes.md#position-debug) | | [3d_texture_transform.sbs/3d_texture_offset_color](../assets/sbs/3d_texture_transform.sbs) | 1 | No | [Parity: 5 cases](parity-fixes.md#verified-cases) | | [3d_texture_transform.sbs/3d_texture_offset_grayscale](../assets/sbs/3d_texture_transform.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [3d_viewer.sbs/ibl_specular_contrib_anisotropic/panoramic_lod](../assets/sbs/3d_viewer.sbs) | 1 | Yes | [Parity · 20 cases, 219,392 exact pixels](parity-fixes.md#large-transform-offsets-and-additive-blends) | | [3d_volume_mask.sbs/3d_volume_mask](../assets/sbs/3d_volume_mask.sbs) | 1 | No | [Parity · 116 renders, all 1,029,632 pixels exact](parity-fixes.md#pixel-quotients-and-volume-mask-interpolation) | -| [3d_worley_noise.sbs/3D_worley_noise](../assets/sbs/3d_worley_noise.sbs) | 1 | No | [In progress · random draws measured, per-pixel starting state differs](parity-fixes.md#pixel-processor-random-draws) | +| [3d_worley_noise.sbs/3D_worley_noise](../assets/sbs/3d_worley_noise.sbs) | 1 | No | [Parity · 34 renders, 312,832 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [alveolus.sbs/alveolus](../assets/sbs/alveolus.sbs) | 0 | Yes | [In progress · 300,544/302,336 pixels across 26 renders](parity-fixes.md#radial-stamp-profiles-and-pattern-generators) | | [angle_to_vector.sbs/angle_to_vector](../assets/sbs/angle_to_vector.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [anisotropic_blur.sbs/anisotropic_blur](../assets/sbs/anisotropic_blur.sbs) | 1 | No | [In progress · 226,638/269,568 exact pixels, wide blur differs](parity-fixes.md#short-oblique-directional-blur) | @@ -90,7 +90,7 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard | [blend.sbs/color_dodge](../assets/sbs/blend.sbs) | 3 | No | [Parity · 18 cases, 171,264 exact RGBA pixels](parity-fixes.md#color-burn-and-color-dodge) | | [blend.sbs/copy](../assets/sbs/blend.sbs) | 3 | Yes | [Parity: 5 cases](parity-fixes.md#verified-cases) | | [blend.sbs/difference](../assets/sbs/blend.sbs) | 3 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | -| [blend.sbs/dissolve_2](../assets/sbs/blend.sbs) | 3 | No | [In progress · 112,533/171,264 exact pixels](parity-fixes.md#segment-mapping-and-normal-graph-rechecks) | +| [blend.sbs/dissolve_2](../assets/sbs/blend.sbs) | 3 | No | [Parity · 28 renders, 183,040 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [blend.sbs/exclusion](../assets/sbs/blend.sbs) | 3 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [blend.sbs/hard_light](../assets/sbs/blend.sbs) | 3 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [blend.sbs/linear_burn](../assets/sbs/blend.sbs) | 3 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | @@ -173,10 +173,10 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard | [curvature.sbs/curvature](../assets/sbs/curvature.sbs) | 1 | No | [Parity · 20 renders, 176,384 exact grayscale pixels](parity-fixes.md#non-power-of-two-float-image-inputs-and-curvature) | | [curvature_smooth.sbs/curvature_smooth](../assets/sbs/curvature_smooth.sbs) | 1 | Yes | [Parity · 20 renders, 176,384 exact grayscale pixels](parity-fixes.md#non-power-of-two-float-image-inputs-and-curvature) | | [curvature_smooth_v2.sbs/compute_curvature_v2](../assets/sbs/curvature_smooth_v2.sbs) | 2 | Yes | [Parity: 6 cases](parity-fixes.md#verified-cases) | -| [diffusion.sbs/impl/pass_RGBA](../assets/sbs/diffusion.sbs) | 4 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [diffusion.sbs/impl/pass_UV](../assets/sbs/diffusion.sbs) | 1 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [diffusion.sbs/impl/pass_gray](../assets/sbs/diffusion.sbs) | 3 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [diffusion.sbs/impl/pass_normal](../assets/sbs/diffusion.sbs) | 2 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | +| [diffusion.sbs/impl/pass_RGBA](../assets/sbs/diffusion.sbs) | 4 | Yes | [Parity · 19 renders, 143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [diffusion.sbs/impl/pass_UV](../assets/sbs/diffusion.sbs) | 1 | Yes | [Parity · 19 renders, 143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [diffusion.sbs/impl/pass_gray](../assets/sbs/diffusion.sbs) | 3 | Yes | [Parity · 19 renders, 143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [diffusion.sbs/impl/pass_normal](../assets/sbs/diffusion.sbs) | 2 | Yes | [Parity · 19 renders, 143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [directional_distance.sbs/directional_distance](../assets/sbs/directional_distance.sbs) | 3 | No | [Parity · 32 renders, both outputs exact across 342,528 pixels](parity-fixes.md#distance-output-channels-axis-wrapping-and-cutoffs) | | [directionnal_noise.sbs/directionnal_noise](../assets/sbs/directionnal_noise.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | | [dirt_1.sbs/dirt_1](../assets/sbs/dirt_1.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | @@ -192,17 +192,17 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard | [flood_fill.sbs/flood_fill_step](../assets/sbs/flood_fill.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [flood_fill.sbs/flood_fill_to_bbox_size](../assets/sbs/flood_fill.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [flood_fill.sbs/flood_fill_to_position](../assets/sbs/flood_fill.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | -| [flood_fill.sbs/flood_fill_to_random_color](../assets/sbs/flood_fill.sbs) | 1 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [flood_fill.sbs/flood_fill_to_random_grayscale](../assets/sbs/flood_fill.sbs) | 1 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | +| [flood_fill.sbs/flood_fill_to_random_color](../assets/sbs/flood_fill.sbs) | 1 | Yes | [In progress · 19 renders, 143,501/143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [flood_fill.sbs/flood_fill_to_random_grayscale](../assets/sbs/flood_fill.sbs) | 1 | Yes | [In progress · 19 renders, 143,795/143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [flood_fill_2.sbs/flood_fill_impl/flood_fill_step_A](../assets/sbs/flood_fill_2.sbs) | 2 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [flood_fill_2.sbs/flood_fill_impl/flood_fill_step_A_switch](../assets/sbs/flood_fill_2.sbs) | 4 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [flood_fill_2.sbs/flood_fill_impl/flood_fill_step_B](../assets/sbs/flood_fill_2.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [flood_fill_2.sbs/flood_fill_to_bbox_size](../assets/sbs/flood_fill_2.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | -| [flood_fill_2.sbs/flood_fill_to_color](../assets/sbs/flood_fill_2.sbs) | 2 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [flood_fill_2.sbs/flood_fill_to_grayscale](../assets/sbs/flood_fill_2.sbs) | 2 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | +| [flood_fill_2.sbs/flood_fill_to_color](../assets/sbs/flood_fill_2.sbs) | 2 | No | [In progress · 19 renders, 143,858/143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [flood_fill_2.sbs/flood_fill_to_grayscale](../assets/sbs/flood_fill_2.sbs) | 2 | No | [In progress · 19 renders, 143,871/143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [flood_fill_2.sbs/flood_fill_to_position](../assets/sbs/flood_fill_2.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | -| [flood_fill_2.sbs/flood_fill_to_random_color](../assets/sbs/flood_fill_2.sbs) | 1 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [flood_fill_2.sbs/flood_fill_to_random_grayscale](../assets/sbs/flood_fill_2.sbs) | 1 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | +| [flood_fill_2.sbs/flood_fill_to_random_color](../assets/sbs/flood_fill_2.sbs) | 1 | No | [In progress · 19 renders, 143,487/143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [flood_fill_2.sbs/flood_fill_to_random_grayscale](../assets/sbs/flood_fill_2.sbs) | 1 | No | [In progress · 19 renders, 143,800/143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [floodfill_to_index.sbs/pass](../assets/sbs/floodfill_to_index.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [fluid.sbs/fluid](../assets/sbs/fluid.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | | [fractal_sum_base.sbs/fractal_sum_base](../assets/sbs/fractal_sum_base.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | @@ -520,10 +520,10 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard | [shape.sbs/shape_base](../assets/sbs/shape.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | | [shape_mapper.sbs/shape_mapper](../assets/sbs/shape_mapper.sbs) | 1 | No | [Parity · 310,784/310,784 pixels](parity-fixes.md#wired-spline-helpers-and-shape-mapping) | | [shape_splatter.sbs/min_max](../assets/sbs/shape_splatter.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | -| [shape_splatter.sbs/shape_splatter_blend](../assets/sbs/shape_splatter.sbs) | 12 | No | [In progress · 170,610/171,264 exact pixels in 18 renders](parity-fixes.md#plane-light-splatter-symmetry-and-waveform-comparisons) | -| [shape_splatter.sbs/shape_splatter_blend_color](../assets/sbs/shape_splatter.sbs) | 12 | No | [In progress · 203,407/204,032 exact pixels in 23 renders](parity-fixes.md#plane-light-splatter-symmetry-and-waveform-comparisons) | +| [shape_splatter.sbs/shape_splatter_blend](../assets/sbs/shape_splatter.sbs) | 12 | No | [Parity · 18 renders, 171,264 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [shape_splatter.sbs/shape_splatter_blend_color](../assets/sbs/shape_splatter.sbs) | 12 | No | [Parity · 23 renders, 204,032 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [shape_splatter.sbs/shape_splatter_data_extract](../assets/sbs/shape_splatter.sbs) | 2 | No | [Parity · 19 cases on seven outputs, 1,206,016 exact pixels](parity-fixes.md#large-transform-offsets-and-additive-blends) | -| [shape_splatter.sbs/shape_splatter_to_mask](../assets/sbs/shape_splatter.sbs) | 1 | No | [Parity: 4 cases](parity-fixes.md#verified-cases) | +| [shape_splatter.sbs/shape_splatter_to_mask](../assets/sbs/shape_splatter.sbs) | 1 | No | [Parity · 4 renders, 114,688 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [shape_splatter_v2.sbs/bitonic_sort/graph/bitonic_sort_iteration](../assets/sbs/shape_splatter_v2.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [shape_splatter_v2.sbs/bitonic_sort/graph/initial_iteration](../assets/sbs/shape_splatter_v2.sbs) | 1 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | | [shape_splatter_v2.sbs/bitonic_sort/graph/remap_sorting](../assets/sbs/shape_splatter_v2.sbs) | 2 | Yes | [Parity: 4 cases](parity-fixes.md#verified-cases) | @@ -593,7 +593,7 @@ The first pass covered all **546 roots**, with **166 Parity** and **380 Too hard | [weave_3.sbs/weave_3](../assets/sbs/weave_3.sbs) | 0 | Yes | [Parity · 13 cases, 163,840 exact pixels](parity-fixes.md#height-distance-texture-mapping-skew-and-weave) | | [weave_4.sbs/weave_4](../assets/sbs/weave_4.sbs) | 0 | Yes | [In progress · 170,018/171,264 exact pixels in 18 renders](parity-fixes.md#plane-light-splatter-symmetry-and-waveform-comparisons) | | [white_noise.sbs/white_noise](../assets/sbs/white_noise.sbs) | 0 | Yes | [Parity: 3 cases](parity-fixes.md#verified-cases) | -| [white_noise.sbs/white_noise_fast](../assets/sbs/white_noise.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | -| [white_noise_v2.sbs/white_noise_v2](../assets/sbs/white_noise_v2.sbs) | 0 | No | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | +| [white_noise.sbs/white_noise_fast](../assets/sbs/white_noise.sbs) | 0 | Yes | [Parity · 18 renders, 127,488 exact pixels](parity-fixes.md#per-pixel-random-initialization) | +| [white_noise_v2.sbs/white_noise_v2](../assets/sbs/white_noise_v2.sbs) | 0 | No | [In progress · 19 renders, 104,036/143,872 exact pixels](parity-fixes.md#per-pixel-random-initialization) | | [wood_fibers_1.sbs/wood_fibers_1](../assets/sbs/wood_fibers_1.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) | | [wood_fibers_2.sbs/wood_fibers_2](../assets/sbs/wood_fibers_2.sbs) | 0 | Yes | [Too hard: remaining pixel differences](parity-fixes.md#remaining-differences) |