Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=8489
------- Additional Comments From [EMAIL PROTECTED] 2006-10-10 04:38 ------- (In reply to comment #20) > This seems to be caused by an rgba vs argb problem. Bugzilla might destroy the > formatting here, but you should still get the idea. If I have > _dri_texformat_rgba8888 everything works fine (no blue patches) but if I have > _dri_texformat_argb8888 then I get blue patches... > > I'm sure there is some higher-level reason why this doesn't work, but I'm not > sure what that is... > > diff --git a/src/mesa/drivers/dri/r300/r300_tex.c > b/src/mesa/drivers/dri/r300/r300_tex.c index 6348ba1..06edbe7 100644 > --- a/src/mesa/drivers/dri/r300/r300_tex.c > +++ b/src/mesa/drivers/dri/r300/r300_tex.c > @@ -385,7 +385,7 @@ #endif > case GL_UNSIGNED_SHORT_5_6_5_REV: > return _dri_texformat_rgb565; > default: > - return do32bpt ? _dri_texformat_argb8888 : > + return do32bpt ? _dri_texformat_rgba8888 : > _dri_texformat_rgb565; > } So, if you change the r300Choose8888TexFormat function it doesn't make a difference at all, only if you change that GL_RGB case? This is really weird, it would seem to indicate that the internal conversion from rgb, unsigned byte to argb8888 (which is indeed more optimized than to rgba8888) would not work correctly, but in this case you should get an error with glean's pixelFormats test, so that can't really be. That all doesn't make sense to me. Someone more familiar with that driver needs to look into it. As for the all-incorrect alpha values in glean with frag progs, I think the reason for that could be a bug in the r300 frag prog parser, as color and alpha sources are fully independant some special handling is needed there increasing complexity and the likelyhood of bugs... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------------------- 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 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel