Keith Whitwell wrote: > Roland Scheidegger wrote: >> > RCS file: /cvs/mesa/Mesa/src/mesa/main/texstore.c,v >> > revision 1.121 >> > date: 2006-09-20 14:28:42 +0000; author: keithw; state: Exp; >> lines: > +19 -12 >> > Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBA >> > conversions, ensuring that the final A value is 0xff in those cases >> > where we use a RGBA hardware texture format to store RGB textures. >> > Fix a couple of cases where hardwired texture conversions were >> > ignoring this restriction. > I think it should be ok now, though for some reason I'm getting lots of > SRGB errors that seem unrelated to this change. Yes, works just fine with the hacked r200 driver. I've also reenabled the swizzling code dealing with rgba8888, as it seems fine too. No idea about SRGB as that's not supported by r200 driver.
Roland ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
