I'm in the process of finishing up some patches for r128 on PPC. One
problem I've run into that conflicts with the radeon PPC fixes is
the choosing and loading of textures. For radeon the PACK_COLOR*
macros in extra/Mesa/src/texutil.c were changed to PACK_COLOR*LE
versions. With the *LE versions in the colors are not ordered correctly
for r128 on PPC .

The problem appears that the r128 chooser is selecting ARGB textures
which when swapped on transfer would be the required BGRA format.
But on x86 they whouldn't get swapped and should be resulting in incorrect
texture colors on x86.

I suspect the chooser code was  cut-n-pasted from radeon and not changed
to reflect the r128's BGRA mode. I intend to try reconfiguring the chooser
if no one sees a problem with that. But first I'd like to know:

Do the exisiting texture generators support a full set of BGRA formats?

Have there been any reports of r128 texture color problems on x86 with
recent CVS? Or that it even works?

Henry





-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to