On Mon, 31 Oct 2005 14:59:59 +0100
Michel Dänzer <[EMAIL PROTECTED]> wrote:

> 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.

I think its more hilarious than anything else.


-- 
Aapo Tahkola


-------------------------------------------------------
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
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to