[Bug 91847] glGenerateTextureMipmap not working (no errors) unless glActiveTexture(GL_TEXTURE1) is called before

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 15 09:30:48 PDT 2015


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

Ian Romanick <idr at freedesktop.org> changed:

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

--- Comment #5 from Ian Romanick <idr at freedesktop.org> ---
Should be fixed by the commit below.  I believe this is in 11.0, and it should
eventually be in a 10.6 stable release.

commit 767c33e88138afa64443417860b264a494eba33d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Sep 2 16:06:58 2015 -0700

    meta: Always bind the texture

    We may have been called from glGenerateTextureMipmap with CurrentUnit
    still set to 0, so we don't know when we can skip binding the texture.
    Assume that _mesa_BindTexture will be fast if we're rebinding the same
    texture.

    v2: Remove currentTexUnitSave because it is now unused.  Suggested by
    both Neil and Anuj.

    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91847
    Cc: "11.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Neil Roberts <neil at linux.intel.com>
    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: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150915/6be5bd00/attachment.html>


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