[Mesa-dev] [Bug 92783] MESA_DEBUG=incomplete_tex prints warnings from glClear which doesn't use the state

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 2 15:17:58 PST 2015


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

            Bug ID: 92783
           Summary: MESA_DEBUG=incomplete_tex prints warnings from glClear
                    which doesn't use the state
           Product: Mesa
           Version: git
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: low
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: glenn.kennard at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Reproducible by running the  arb_texture_view-sampling-2d-array-as-2d-layer
piglit test case, the first call to glClear ends up checking the currently
bound shader's state for texture completeness and prints the following warning:
Mesa: Texture Obj 0 incomplete because: Image[baseLevel=0] == NULL

As far as I can tell this is due to _mesa_Clear calling _mesa_update_state
which eventually gets to _mesa_test_texobj_completeness where the warning is
printed.

Checking texture completeness in glClear strikes me as rather odd, in
particular since the check is on the api bound shader, not the internal state
used for the clear itself.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151102/215afc4b/attachment.html>


More information about the mesa-dev mailing list