search for: max_program_temps

Displaying 1 result from an estimated 1 matches for "max_program_temps".

2012 Dec 06
0
[Bug 37440] Infinite loop detected in fragment program
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(), thou...