<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - piglit glsl-uniform-out-of-bounds-2 regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59688">59688</a>
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>CC</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>piglit glsl-uniform-out-of-bounds-2 regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>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 <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
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 <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
:040000 040000 4adc878d5fbe89b7eb863c23a6d33983b9474833
cae46d8af723e33e763cf27e2153682822e9329a M src
bisect run success</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>