<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in glLinkProgram (NEW)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91226#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in glLinkProgram (NEW)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91226">bug 91226</a>
from <span class="vcard"><a class="email" href="mailto:neil@linux.intel.com" title="Neil Roberts <neil@linux.intel.com>"> <span class="fn">Neil Roberts</span></a>
</span></b>
<pre>It looks this is a bug in Mesa. I've filed a patch for it here:
<a href="http://lists.freedesktop.org/archives/mesa-dev/2015-July/088138.html">http://lists.freedesktop.org/archives/mesa-dev/2015-July/088138.html</a>
The buggy code looks like it is trying to match expressions that look like
this:
floor(abs(x) + 0.5) * sign(x)
However the check for the + in the middle is broken so I think it will crash
with anything that looks like this
floor(<any unary operation>) * sign(x)
Maybe if you want to make a workaround you could rearrange the expression so
that it doesn't match that somehow?</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>