https://bugs.freedesktop.org/show_bug.cgi?id=48472
--- Comment #2 from Vadim ptpzz@yandex.ru 2012-04-09 12:59:12 PDT --- Created attachment 59693 --> https://bugs.freedesktop.org/attachment.cgi?id=59693 [PATCH] r600g: check gpr count limit
The problem is that some shader requires too much registers. I suspect it's caused by the loop unrolling. TGSI source for that shader uses 161 temps.
This patch doesn't solve the real problem, but it will prevent the lockups with r600g and allow to detect the problem by printing the error message. Also it may allow the app to run almost as expected (maybe with minor rendering problems).