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=2490 Summary: Max anisotropy of less than 1.0 sets anisotropy to 16.0 Product: Mesa Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: trivial Priority: P2 Component: Drivers/DRI/r200 AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED]
I have only tested this bug with r300 drivers. diff -uNr dri.orig/r200/r200_tex.c dri/r200/r200_tex.c --- dri.orig/r200/r200_tex.c Sun Feb 20 01:48:09 2005 +++ dri/r200/r200_tex.c Sun Feb 20 01:49:05 2005 @@ -182,7 +182,7 @@ { t->pp_txfilter &= ~R200_MAX_ANISO_MASK; - if ( max == 1.0 ) { + if ( max <= 1.0 ) { t->pp_txfilter |= R200_MAX_ANISO_1_TO_1; } else if ( max <= 2.0 ) { t->pp_txfilter |= R200_MAX_ANISO_2_TO_1; diff -uNr dri.orig/radeon/radeon_tex.c dri/radeon/radeon_tex.c --- dri.orig/radeon/radeon_tex.c Sun Feb 20 01:48:10 2005 +++ dri/radeon/radeon_tex.c Sun Feb 20 01:48:45 2005 @@ -147,7 +147,7 @@ { t->pp_txfilter &= ~RADEON_MAX_ANISO_MASK; - if ( max == 1.0 ) { + if ( max <= 1.0 ) { t->pp_txfilter |= RADEON_MAX_ANISO_1_TO_1; } else if ( max <= 2.0 ) { t->pp_txfilter |= RADEON_MAX_ANISO_2_TO_1; -- 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. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel