The shader used mix() where UiScalar::within writes from + (to - from) * t, so the two associate the arithmetic differently and can put an edge on either side of an integer. Writing it out matches them, and is a multiplication cheaper. The five reference renders and the resize render are byte-identical either way. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>