[Mesa-dev] [Bug 48787] New: [regression bisected]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 16 15:20:22 PDT 2012


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

             Bug #: 48787
           Summary: [regression bisected]
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: idr at freedesktop.org


Retail Doom3 on swrast (classic, I haven't tried softpipe or llvmpipe)
generates an endless stream of messages like

Mesa warning: glDrawElements() index=895 is out of bounds (max=4)
Mesa warning: glDrawElements() index=39 is out of bounds (max=4)
Mesa warning: glDrawElements() index=39 is out of bounds (max=4)
Mesa warning: glDrawElements() index=196 is out of bounds (max=4)
Mesa warning: glDrawElements() index=571 is out of bounds (max=4)
Mesa warning: glDrawElements() index=17 is out of bounds (max=4)
Mesa warning: glDrawElements() index=67 is out of bounds (max=4)
Mesa warning: glDrawElements() index=38 is out of bounds (max=4)
Mesa warning: glDrawElements() index=1606 is out of bounds (max=4)

I have bisected this to:

commit 7a1e941ebee43cb97a2c77fd2269999b202308a2
Author: Mathias Fröhlich <Mathias.Froehlich at web.de>
Date:   Thu Dec 29 13:10:01 2011 +0100

    mesa: Fix and speedup gl_array_object::_MaxElement computation.

    Use a bitmask approach to compute gl_array_object::_MaxElement.
    To make this work correctly depending on the shader type actually used,
    make use of the newly introduced typed bitmask getters.
    With this change I gain about 5% draw time on some osgviewer examples.

    Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
    Reviewed-by: Brian Paul <brianp at vmware.com>

-- 
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 mesa-dev mailing list