On Sat, 2006-09-16 at 02:08 +0200, Roland Scheidegger wrote: > Roland Scheidegger wrote: > > Would the attached patch be useful for r200 and r300 or is it overkill > > for such a simple optimization? It will try to find a 8888 format so the > > memcopy path is hit. To do this it will use both _rev and normal formats > > on both little and big endian, which unfortunately means we now need two > > tx_table tables (though actually only 2 (respectively 4 on r300) entries > > differ from little to big endian). Note that on r300 an optimized > > chooseTextureFormatFunction could be used for other formats too (but the > > 8888 formats are probably by far the most used, save maybe compressed > > ones in games). > Since this was reported to not work on r300, here's a new version which > hopefully does (swizzling was wrong).
Yes, this works on r300 big endian as well. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev