<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Linking fails when not writing gl_Position."
href="https://bugs.freedesktop.org/show_bug.cgi?id=83380">bug 83380</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;">Assignee</td>
<td>idr@freedesktop.org
</td>
<td>lemody@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Linking fails when not writing gl_Position."
href="https://bugs.freedesktop.org/show_bug.cgi?id=83380#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Linking fails when not writing gl_Position."
href="https://bugs.freedesktop.org/show_bug.cgi?id=83380">bug 83380</a>
from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
<pre>Because test does not specify GLSL version, I believe lowest possible one is
used and that is why the error condition gets hit, currently test could pass if
it specified #version 140 at the beginning. But it looks like Mesa is indeed
too strict here, GLSL specification 1.10 states:
"Compilers may generate a diagnostic message if they detect gl_Position is not
written, or read before being written, but not all such cases are detectable.
Results are undefined if a vertex shader is executed and does not write
gl_Position."
So for me it looks like Kalyan's fix is proper, I can send your patch to the
list with a change to the comment section as well.</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>