On Wed, 2006-09-20 at 18:56 +0000, Keith Whitwell wrote: > CVSROOT: /cvs/mesa > Module name: Mesa > Repository: Mesa/src/mesa/main/ > Changes by: [EMAIL PROTECTED] 06/09/20 18:56:19 > > Log message: > Support both big and little endian, more source types and more > destination formats through the swizzle path. It would be great to > see this tested on eg, PPC machines...
With the current trunk, glean pixelFormats fails 201 combinations on big endian with both drivers, of which this commit broke 42 and the 'Extend swizzle support to all remaining source formats and texture destination formats.' commit the other 159 (yay git-bisect! :). Changing type_endian_mapping() to return map_identity for GL_UNSIGNED_BYTE brings it down to 144 and changing the last two components of map_3210 to { 7, 6 } to 138, but other than that changes to these mapping arrays and functions don't seem to affect the number of failed combinations much, and I don't fully grok the concept of your changes yet. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev