[Mesa-dev] [Bug 59688] New: piglit glsl-uniform-out-of-bounds-2 regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 21 17:41:58 PST 2013


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

          Priority: medium
            Bug ID: 59688
          Keywords: regression
                CC: idr at freedesktop.org
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: piglit glsl-uniform-out-of-bounds-2 regression
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

mesa: 3a91e7955ace2885cfb23089852018a8037ca134 (master)

$ ./bin/glsl-uniform-out-of-bounds-2 -auto
active uniforms 2
trying bogus location -2
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=-2)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=-2)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=-2)
trying bogus location 0
Mesa: User error: GL_INVALID_OPERATION in glUniform(type mismatch)
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:150)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: wrote matrix to bogus location
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:155)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: read from bogus location
trying bogus location 65533
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=65533)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=65533)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=65533)
trying bogus location -3
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=-3)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=-3)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=-3)
trying bogus location 1
Mesa: User error: GL_INVALID_OPERATION in glUniform(type mismatch)
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:150)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: wrote matrix to bogus location
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:155)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: read from bogus location
trying bogus location 65534
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=65534)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=65534)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=65534)
trying bogus location -4
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=-4)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=-4)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=-4)
trying bogus location 2
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=2)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=2)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=2)
trying bogus location 65535
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=65535)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=65535)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=65535)
trying bogus location -5
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=-5)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=-5)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=-5)
trying bogus location 3
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=3)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=3)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=3)
trying bogus location 65536
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:145)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: wrote vector to bogus location
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(non-matrix uniform)
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:155)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: read from bogus location
trying bogus location -6
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=-6)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=-6)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=-6)
trying bogus location 4
Mesa: User error: GL_INVALID_OPERATION in glUniform(location=4)
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(location=4)
Mesa: User error: GL_INVALID_OPERATION in glGetUniform(location=4)
trying bogus location 65537
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:145)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: wrote vector to bogus location
Mesa: User error: GL_INVALID_OPERATION in glUniformMatrix(non-matrix uniform)
Unexpected GL error: GL_NO_ERROR 0x0
(Error at piglit/tests/shaders/glsl-uniform-out-of-bounds-2.c:155)
Expected GL error: GL_INVALID_OPERATION 0x502
FAIL: read from bogus location
PIGLIT: {'result': 'fail' }


8ef3c83ffe538d09380baaac5c3cd86a9f97ca47 is the first bad commit
commit 8ef3c83ffe538d09380baaac5c3cd86a9f97ca47
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Dec 14 15:01:48 2012 -0800

    mesa: Array uniform names are supposed to have [0] appended

    This is required by OpenGL ES 3.0 and desktop OpenGL 4.2.  Previous
    version were ambiguous.  This also matches the behavior of NVIDIA's
    closed-source driver (version 304.64).

    Fixed gles3conformance test uniform_buffer_object_getactiveuniform.

    Several piglit tests expect glGetActiveUniform to *not* include the [0]
    on the end.  These tests were already failing on NVIDIA, and this change
    regresses them on Mesa.  Patches have been sent to the piglit mailing
    list to fix the tests.

    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

:040000 040000 4adc878d5fbe89b7eb863c23a6d33983b9474833
cae46d8af723e33e763cf27e2153682822e9329a M    src
bisect run success

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130122/5959c562/attachment-0001.html>


More information about the mesa-dev mailing list