<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 - triangle clipping causes wrong ... something"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98851">98851</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>triangle clipping causes wrong ... something
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>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/Gallium/swr
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>imirkin@alum.mit.edu
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Sorry for the non-descript subject. I'm just not sure what's wrong. The
following test fails:
generated_tests/spec/glsl-1.30/execution/interpolation/interpolation-noperspective-gl_FrontColor-flat-fixed.shader_test
as do many of its friends. Note that the color is meant to be
non-perspective-interpolated. Also note that the flat-none.shader_test variant
of this works as expected. As does the flat-vertex.shader_test variant after my
perspective-interpolation for clip distances fix is applied. So it's something
wrong with the clipper.
Comparing to
generated_tests/spec/glsl-1.30/execution/interpolation/interpolation-smooth-gl_FrontColor-flat-fixed.shader_test,
it looks different (which smoothly-interpolates the color). And there's no
reason to think that color is being perspective-interpolated, as that is
decided in the user frag shader. However I'm not sure what's going on - 1/w is
getting messed up perhaps? Not sure.
Furthermore, note that
generated_tests/spec/glsl-1.30/execution/interpolation/interpolation-smooth-gl_FrontColor-flat-fixed.shader_test
does pass with swr, and the only difference is that the color is
perspective-interpolated vs no-perspective-interpolated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>