in r200UploadRectSubImage, shouldn't r200AllocDmaRegion just call for a 1024 byte alignment (since the blit offset looks like it needs to be 1024 byte aligned)? That'll get rid of the failed assertion with texrect when using 16bit textures - the radeon driver already uses 1024 byte alignment. Also, the region.address used looks ugly - wouldn't it better to use region.address + region.start (I'm not sure how exactly that dma/region mechanism works, but I'd guess it might be possible that there is some other region used already in the same dma buffer which would get overwritten).
Roland
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel