[Bug 97322] GenerateMipmap creates wrong mipmap for sRGB texture

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 12 08:43:29 UTC 2016


            Bug ID: 97322
           Summary: GenerateMipmap creates wrong mipmap for sRGB texture
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: idr at freedesktop.org
          Reporter: qiankun.miao at intel.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

When generating mipmap for texture, bi-linear interpolation is used to get the
next mip level. If the texture is in sRGB format, we should decode sRGB to
linear before the interpolation, and then re-encode it to sRGB after
interpolation. Mesa doesn't follow such rules.

Steps to reproduce this bug:
1. Run latest "google-chrome-unstable" on Skylake Linux with option
"--enable-unsafe-es3-apis" to enable WebGL 2.0 support.
2. open
3. You will see the test fails due to some result pixles are different with the

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160812/2d79650e/attachment.html>

More information about the intel-3d-bugs mailing list