[Mesa-dev] [Bug 31800] [r300g] src/mesa/state_tracker/st_mesa_to_tgsi.c:228:src_register: Assertion `index >= 0' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 23 16:37:49 PST 2010


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

--- Comment #2 from Brian Paul <brianp at vmware.com> 2010-11-23 16:37:48 PST ---
Created an attachment (id=40524)
 View: https://bugs.freedesktop.org/attachment.cgi?id=40524
 Review: https://bugs.freedesktop.org/review?bug=31800&attachment=40524

check register indexes during linking

Can you try this patch?  It adds checking to the linker to see if any
hardware/driver limits are exceeded.

This isn't ideal, however.  Since register allocation is the driver's job now,
the number of Mesa temp registers used may exceed the
gl_program_constants::MaxTemps value but be reduced to a smaller set of temps
in the driver.  The linker should call into the driver during linking to give
the driver a chance to check/report resource-exceeded errors.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list