[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 15 10:02:06 PST 2011


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

--- Comment #8 from Michel Dänzer <michel at daenzer.net> 2011-12-15 10:02:06 PST ---
Created attachment 54470
  --> https://bugs.freedesktop.org/attachment.cgi?id=54470
WIP endianness fixes

Here's some Mesa/Gallium endianness fixes I've been working on. Note that I'm
serious about 'WIP'; at the very least, this will need to be split/cleaned up,
and e.g. the util changes are just a quick'n'dirty hack which mixes driver
specific requirements into driver independent code. Also, this will probably
break colours with the r600g driver on big endian, but that should be easy to
fix by disabling its use of GPU byte swapping for textures and render targets,
and I think that's necessary anyway to work correctly in all cases possible
with OpenGL.

I'm still seeing some wrong colours e.g. in gnome-shell and assaultcube, either
I'm missing some more vital formats, or there could be similar issues with
vertex colours.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list