shinyobjectz
abc859cf5d
#20: the same page renders to the same frames every time. Vello's fine stage (area antialiasing, what raea-page draws with) summed a tile's coverage in f32 in the order its segments arrived, and path_count hands out their slots with atomicAdd, so the order, and the sum's last bits, changed from run to run: a pixel now and then came out a level apart, so frame hashes and the export cache disagreed between renders. Each contribution is now summed as a fixed-point i32 (2^20 to the pixel), which no order changes, and made a float once. bench/html-repeat/check.sh renders #20's page 8 times to frame hashes and needs every run the same as the first: before, 6 of 7 runs differed (frames 161, 175, 269); after, all 8 match (and 12 of 12 in a longer run). Speed, two builds of this tree with and without the change, five runs each back to back, to frame hashes: the #23 bench page 154-194 fps before, 167-193 after (medians 193.2 and 191.8); #20's page 145-160 before, 154-160 after (medians 155.9 and 157.1). Ten pictures (eight parity cases and bench/rotated-paint's two) are pixel-identical before and after; only frames that fell on that rounding change, by a level.
(closes #20)
2026-11-07 16:36:04 -08:00