[Bug 96911] webgl2 conformance2/textures/misc/tex-mipmap-levels.html crashes 12.1 Intel driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 23 03:34:17 UTC 2016


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

Kenneth Graunke <kenneth at whitecape.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Kenneth Graunke <kenneth at whitecape.org> ---
Fixed on Mesa master by:

commit f80bea2d8066d228e78a1744d036f69a0265116e
Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Jul 21 22:13:38 2016 -0700

    mesa: Don't call GenerateMipmap if Width or Height == 0.

    One of the WebGL 2.0 conformance tests is trying to call
    glGenerateMipmaps with a width and height of 0.  With the meta
    implementation, this generates a "framebuffer attachment incomplete"
    status, and falls back to the CPU path, calling MapTextureImage.

    Except that there's no actual texture to map, and we assert fail.

    There's no work to do in this case.  The test expects it to succeed,
    so just return early with no error and avoid hassling the driver.

    Cc: mesa-stable at lists.freedesktop.org
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96911
    Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
    Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>

-- 
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/20160723/457da853/attachment.html>


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