From: <bug...@fr...> - 2005-02-07 22:53:45
|
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...@li... ReportedBy: ae...@ra... 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. |