Created attachment 127630 [details] self-contained testcase 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 #define GLAMOR_GRADIENT_SHADER in glamor/glamor_priv.h commented out avoids the problem.
Created attachment 136920 [details] Expected output
Created attachment 136921 [details] Bad output
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: https://patchwork.freedesktop.org/series/37173/
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 .
Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.