[Bug 34280] r200 mesa-7.10 font distortion

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 21 14:34:37 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=34280

Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|dri-devel at lists.freedesktop |idr at freedesktop.org
                   |.org                        |

--- Comment #6 from Ian Romanick <idr at freedesktop.org> 2011-02-21 14:34:36 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > Can you bisect?
> 
> Sure, I bisected to 5d1387b2da3626326410804026f8b92f1a121fdc
>  Ian Romanick, "ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal
> formats".

That's pretty weird.  I don't see how that change could impact r200.  The only
thing that seems to have a chance is if something weird happens in the
GL_LUMINANCE8_ALPHA8 case.  What happens if you apply this mini-patch?  This
isn't a fix, but it may help illuminate what's going wrong.

diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c
b/src/mesa/drivers/dri/radeon/radeon_texture.c
index cf85a5b..75dc107 100644
--- a/src/mesa/drivers/dri/radeon/radeon_texture.c
+++ b/src/mesa/drivers/dri/radeon/radeon_texture.c
@@ -464,7 +464,7 @@ gl_format radeonChooseTextureFormat(struct gl_context *
ctx,
        case GL_LUMINANCE12_ALPHA12:
        case GL_LUMINANCE16_ALPHA16:
        case GL_COMPRESSED_LUMINANCE_ALPHA:
-               return _dri_texformat_al88;
+               return radeonChoose8888TexFormat(rmesa, format, type, fbo);

        case GL_INTENSITY:
        case GL_INTENSITY4:

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list