[Mesa-dev] [Bug 45967] New: piglit getteximage-invalid-format-for-packed-type regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 12 15:00:21 PST 2012


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

             Bug #: 45967
           Summary: piglit getteximage-invalid-format-for-packed-type
                    regression
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at freedesktop.org
                CC: brianp at vmware.com


mesa: 094eeff19946138d6306d74e9e62af5e9d192abd (master)

Run piglit getteximage-invalid-format-for-packed-type on softpipe or llvmpipe. The test now fails but previously passed.

$ ./bin/getteximage-invalid-format-for-packed-type -auto
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_OPERATION in glGetTexImage(format/type)
Mesa: User error: GL_INVALID_ENUM in glGetTexImage(format/type)
PIGLIT: {'result': 'fail' }

627b435dfe17698a1c69e9a259838fc6f2e6bd4e is the first bad commit
commit 627b435dfe17698a1c69e9a259838fc6f2e6bd4e
Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 7 07:42:33 2012 -0700

    mesa: new _mesa_error_check_format_and_type() function

    This replaces the _mesa_is_legal_format_and_type() function.

    According to the spec, some invalid format/type combinations to
    glDrawPixels, ReadPixels and glTexImage should generate
    GL_INVALID_ENUM but others should generate GL_INVALID_OPERATION.

    With the old function we didn't make that distinction and generated
    GL_INVALID_ENUM errors instead of GL_INVALID_OPERATION.  The new
    function returns one of those errors or GL_NO_ERROR.

    This will also let us remove some redundant format/type checks in
    follow-on commit.

    v2: add more checks for ARB_texture_rgb10_a2ui at the top of
    _mesa_error_check_format_and_type() per Ian.

    Signed-off-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