[Bug 36965] New: GL_EXT_texture_sRGB (included in OpenGL 2.1) is broken

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 8 07:00:30 PDT 2011


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

           Summary: GL_EXT_texture_sRGB (included in OpenGL 2.1) is broken
           Product: Mesa
           Version: 7.10
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: marlam at marlam.de


The GL extension GL_EXT_texture_sRGB (which is in OpenGL 2.1 core) defines the
texture formats GL_SRGB and friends and specifies that sampling such a texture
automatically converts the values from non-linear RGB (sRGB) to linear RGB.

However, this conversion is not performed; the textures are sampled as if they
were normal GL_RGB textures. This results in wrong colors (e.g. in the Bino 3D
video player: far too bright).

I'm running Ubuntu 11.04 on x86_64 and get the following version info from GL:
OpenGL version: 2.1 Mesa 7.10.2
OpenGL renderer: Gallium 0.4 on AMD RV710
OpenGL vendor: X.Org

If you need more information, please let me know.

[This is the same as bug 32323, but re-reported for newer Mesa versions]

-- 
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