<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:dark_sylinc@yahoo.com.ar" title="Matias N. Goldberg <dark_sylinc@yahoo.com.ar>"> <span class="fn">Matias N. Goldberg</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - interpolateAtSample check for input parameter is too strict"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101378">bug 101378</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;">CC</td>
<td>
</td>
<td>dark_sylinc@yahoo.com.ar
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - interpolateAtSample check for input parameter is too strict"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101378#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - interpolateAtSample check for input parameter is too strict"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101378">bug 101378</a>
from <span class="vcard"><a class="email" href="mailto:dark_sylinc@yahoo.com.ar" title="Matias N. Goldberg <dark_sylinc@yahoo.com.ar>"> <span class="fn">Matias N. Goldberg</span></a>
</span></b>
<pre>+1 to this bug.
I just hit it after our refactor allowed our OpenGL backend to use more
advanced MSAA functionalities.
Our code in question (heavily cut):
in block
{
flat uint drawId;
vec3 pos;
vec3 normal;
vec2 uv0;
vec4 posL0;
vec4 posL1;
vec4 posL2;
float depth;
float2 zwDepth;
} inPs;
vec2 pixelDepthZW;
pixelDepthZW = interpolateAtSample( inPs.zwDepth, 0 );
Mesa complains this is invalid (error: parameter `interpolant` must be a shader
input), though to the best of my knowledge, it should be. AMD Windows drivers
accept this fine, Windows propietary drivers only complain if I write
interpolateAtSample( inPs.zwDepth.y, 0 ) which I was surprised to learn the
spec kind of disallows it.
I'm glad someone already reported it.
I'm using git 57c8ead0cd</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>