On Sun, 2005-10-30 at 10:17 +1100, Benjamin Herrenschmidt wrote:
> >
> > Sounds like 32-bit elts work for ppc.
> > 16-bit elts are used in vtxfmt_a path so thats still broken.
>
> They probably need HDW swapping... AFAIK, the CCE is doing 32 bits
> bytewap all the time.
Yes, we set it up that way so that we don't have to take care of byte
order for every CP command.
> Thus, 16 bits data need to have top and bottom 16 bits swapped (HDW swap)
> to "correct" the result.
In the radeon and r200 drivers, it's even hairier than that because the
elts aren't always aligned to 4 bytes. See EMIT_ELT in
r{adeon,200}_tcl.c.
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel