[Nouveau] [Bug 37440] Infinite loop detected in fragment program

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 5 18:49:06 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=37440

--- Comment #4 from Andrew Caudwell <acaudwell at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20121206/4af0d3be/attachment.html>


More information about the Nouveau mailing list