<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Infinite loop detected in fragment program"
href="https://bugs.freedesktop.org/show_bug.cgi?id=37440#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Infinite loop detected in fragment program"
href="https://bugs.freedesktop.org/show_bug.cgi?id=37440">bug 37440</a>
from <span class="vcard"><a class="email" href="mailto:acaudwell@gmail.com" title="Andrew Caudwell <acaudwell@gmail.com>"> <span class="fn">Andrew Caudwell</span></a>
</span></b>
<pre>I believe this is due to a bug in mesa/program/prog_execute.c.
get_dst_register_pointer() returns a dummy register when the dest register
Index exceeds MAX_PROGRAM_TEMPS (currently set to 256). Perhaps this should be
an error or an assertion failure instead.
Raising the value of MAX_PROGRAM_TEMPS worked around the infinite loop in my
case.
I also needed to increase INST_INDEX_BITS to avoid an intermitant assertion
failure from mesa_src_reg_from_ir_src_reg(), though this may not be directly
related.
Mesa 9.1-devel using OSMesa.</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>