<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:siglesias@igalia.com" title="Samuel Iglesias <siglesias@igalia.com>"> <span class="fn">Samuel Iglesias</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - dEQP-GLES31.functional.debug.negative_coverage.get_error.texture.texparameterIiv/texparameterIuiv failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98250">bug 98250</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTOURBUG
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - dEQP-GLES31.functional.debug.negative_coverage.get_error.texture.texparameterIiv/texparameterIuiv failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98250#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - dEQP-GLES31.functional.debug.negative_coverage.get_error.texture.texparameterIiv/texparameterIuiv failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98250">bug 98250</a>
from <span class="vcard"><a class="email" href="mailto:siglesias@igalia.com" title="Samuel Iglesias <siglesias@igalia.com>"> <span class="fn">Samuel Iglesias</span></a>
</span></b>
<pre>Notice that this subtest is expecting an OpenGL ES 3.2 context to run, so that
can be confusing as, in OpenGL ES 3.1, GL_TEXTURE_BORDER_COLOR is not allowed
in glTexParameterI{i,ui}v(). See file
modules/gles31/functional/es31fNegativeTextureApiTests.cpp, function
texparameterIiv().
However in OpenGL ES 3.2, glTexParameterI{i,ui}v() called with
GL_TEXTURE_BORDER_COLOR pname accepts any 4 values. See OpenGL ES 3.2 spec,
section 8.10 "Texture Parameters".
The test is passing an array of 2 values as argument and expects the driver to
detect that it is invalid. Nevertheless, the argument is a pointer to the array
and the driver, internally, will pick 4 values reading the rest from the stack
and it cannot know that the user gave less values than expected.
I submitted a patch for dEQP:
<a href="https://android-review.googlesource.com/299257">https://android-review.googlesource.com/299257</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>