We need to sample at the mid-point of each subrow rather than at the top and preserve the full precision of the edge gradients.
191c6b6 sna/trapezoids: Improve sample locations for imprecise rasterisation
src/sna/sna_trapezoids.h | 2 +-
src/sna/sna_trapezoids_imprecise.c | 488 ++++++++++++++++--------------------
2 files changed, 222 insertions(+), 268 deletions(-)
Upstream: cgit.freedesktop.org