<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [regression] arb_separate_shader_objects.active sampler conflict fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93180">93180</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[regression] arb_separate_shader_objects.active sampler conflict fails
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mark.a.janes@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>mesa c3ec12ec3c1ddbc72e50df1f5632fe0547a89f7e regressed the following piglit
test:
piglit.spec.arb_separate_shader_objects.active sampler conflict
Standard Output
/tmp/build_root/m64/lib/piglit/bin/arb_separate_shader_object-active-sampler-conflict
-auto -fbo
piglit: debug: Requested an OpenGL 3.1 Forward-Compatible Core Context, and
received a matching 3.3 context
Failed to validate the pipeline: Texture unit 1 is accessed both as sampler2D
and sampler3D
Unexpected GL error: GL_NO_ERROR 0x0
(Error at
/home/jenkins/workspace/Leeroy/repos/piglit/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c:218)
Expected GL error: GL_INVALID_OPERATION 0x502
Failed to validate the pipeline: Texture unit 1 is accessed both as sampler2D
and sampler3D
Unexpected GL error: GL_NO_ERROR 0x0
(Error at
/home/jenkins/workspace/Leeroy/repos/piglit/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c:229)
Expected GL error: GL_INVALID_OPERATION 0x502
Failed to validate the pipeline: Texture unit 1 is accessed both as sampler2D
and sampler3D
Unexpected GL error: GL_NO_ERROR 0x0
(Error at
/home/jenkins/workspace/Leeroy/repos/piglit/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c:218)
Expected GL error: GL_INVALID_OPERATION 0x502
Failed to validate the pipeline: Texture unit 1 is accessed both as sampler2D
and sampler3D
Unexpected GL error: GL_NO_ERROR 0x0
(Error at
/home/jenkins/workspace/Leeroy/repos/piglit/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c:229)
Expected GL error: GL_INVALID_OPERATION 0x502
Failed to validate the pipeline: Texture unit 1 is accessed both as sampler2D
and sampler3D
Unexpected GL error: GL_NO_ERROR 0x0
(Error at
/home/jenkins/workspace/Leeroy/repos/piglit/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c:218)
Expected GL error: GL_INVALID_OPERATION 0x502
Failed to validate the pipeline: Texture unit 1 is accessed both as sampler2D
and sampler3D
Unexpected GL error: GL_NO_ERROR 0x0
(Error at
/home/jenkins/workspace/Leeroy/repos/piglit/tests/spec/arb_separate_shader_objects/active-sampler-conflict.c:229)
Expected GL error: GL_INVALID_OPERATION 0x502
The commit that triggered the test failure:
Author: Timothy Arceri <<a href="mailto:timothy.arceri@collabora.com">timothy.arceri@collabora.com</a>>
AuthorDate: Thu Nov 26 21:32:48 2015 +1100
Commit: Timothy Arceri <<a href="mailto:timothy.arceri@collabora.com">timothy.arceri@collabora.com</a>>
CommitDate: Fri Nov 27 08:44:37 2015 +1100
glsl: don't generate extra errors in ValidateProgramPipeline
From Section 11.1.3.11 (Validation) of the GLES 3.1 spec:
"An INVALID_OPERATION error is generated by any command that trans-
fers vertices to the GL or launches compute work if the current set
of active program objects cannot be executed, for reasons including:"
It then goes on to list the rules we validate in the
_mesa_validate_program_pipeline() function.
For ValidateProgramPipeline the only mention of generating an error is:
"An INVALID_OPERATION error is generated if pipeline is not a name re-
turned from a previous call to GenProgramPipelines or if such a name has
since been deleted by DeleteProgramPipelines,"
Which we handle separately.
This fixes:
ES31-CTS.sepshaderobjs.PipelineApi
No regressions on the eEQP 3.1 tests.
Cc: Gregory Hainaut <<a href="mailto:gregory.hainaut@gmail.com">gregory.hainaut@gmail.com</a>>
Reviewed-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>