<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 - Too many temporary expressions in shader freeze glLinkProgram"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94477">94477</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Too many temporary expressions in shader freeze glLinkProgram
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>11.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>martina.kollarova@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=122206" name="attach_122206" title="glxinfo output">attachment 122206</a> <a href="attachment.cgi?id=122206&action=edit" title="glxinfo output">[details]</a></span>
glxinfo output
This bug is causing a webgl conformance test in Chromium to freeze and time
out. <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=593680">https://bugs.chromium.org/p/chromium/issues/detail?id=593680</a>
The shader contains something like:
temp +=
u_uniform +
u_uniform -
u_uniform /
u_uniform *
u_uniform +
u_uniform -
u_uniform /
u_uniform *
u_uniform +
u_uniform -
u_uniform ;
repeated 1000 times. It freezes forever (I waited 30 minutes) on glLinkProgram.
It doesn't freeze if it's repeated only ~100 times.
I created a small reproducer that uses approximately the same shaders as the
test in Chromium: <a href="https://github.com/mkollaro/opengl_snippets">https://github.com/mkollaro/opengl_snippets</a>, you can try it
out with:
mkdir build && cd build && cmake .. && make && ./bin/shader_freeze</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>