Created attachment 127630 [details]
Some linear gradients are broken when rendered using a AMD Mullins based laptop with glamor.
The attached test-case should render a blue-red-blue gradient (at least that is intended and works on intel-sna), however with radeon+glamor it is mostly red.
forgot to mention: the laptop is running an updated fedora-24 installation, with Xorg version:
X.Org X Server 1.18.4
Release Date: 2016-07-19
Building xserver with
in glamor/glamor_priv.h commented out avoids the problem.
Created attachment 136920 [details]
Created attachment 136921 [details]
I finished tracking down the cause of this reflect-repeat linear gradient bug. In the process of testing it, I ran across another issue with no-repeat gradients. Fixes for those, and some other code cleanup can be found in this patch series:
Created attachment 137102 [details]
testcase covering all 4 repeat types/linear & radial/2 stops & 8 stops
Thanks for the report, fixed with https://cgit.freedesktop.org/xorg/xserver/commit/?id=3e377e238f7257fd01e56a4a25dfd77e033673e4 .