[Mesa-dev] [Bug 46082] New: piglit ext_texture_integer-api-teximage regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 14 22:43:12 PST 2012


             Bug #: 46082
           Summary: piglit ext_texture_integer-api-teximage 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: 78734e375a0e3ea87abd6d5b2f85946e78e96015 (master)

Run piglit ext_texture_integer-api-teximage on softpipe.

$ ./bin/ext_texture_integer-api-teximage -auto
Mesa: User error: GL_INVALID_ENUM in glTexImage2D(incompatible format 0x8d99, type 0x1406)
Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(integer/non-integer format mismatch)
Mesa: User error: GL_INVALID_ENUM in glTexSubImage2D(incompatible format 0x8d99, type 0x1406)
Unexpected GL error: GL_INVALID_ENUM 0x500
Expected GL error: GL_INVALID_OPERATION 0x502
PIGLIT: {'result': 'fail' }

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>

piglit/tests/util/glew.h:2108:#define GL_RGBA_INTEGER 0x8D99
piglit/tests/util/glew.h:615:#define GL_FLOAT 0x1406

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