[Bug 74939] xf86-video-ati: [regression] glitches on the graphical interface on ppc64

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 20 19:08:06 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=74939

--- Comment #5 from Michel Dänzer <michel at daenzer.net> ---
(In reply to comment #4)
> +#if X_BYTE_ORDER == X_BIG_ENDIAN
> +    buf[0] = pix_a;
> +    buf[1] = pix_b;
> +    buf[2] = pix_g;
> +    buf[3] = pix_r;
> +#else
>      buf[0] = pix_r;
>      buf[1] = pix_g;
>      buf[2] = pix_b;
>      buf[3] = pix_a;
> +#endif

These values are floats, so their order is not subject to endianness. If this
change helps, the extraction of pix_r/g/b/a from the packed fg value should be
fixed instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20140221/df347852/attachment.html>


More information about the xorg-driver-ati mailing list