mesa: don't smash the stack in _mesa_find_used_registers
authorLuca Barbieri <luca@luca-barbieri.com>
Sun, 5 Sep 2010 15:57:12 +0000 (17:57 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Sun, 5 Sep 2010 15:57:12 +0000 (17:57 +0200)
commit029c1815717ea62bae28e86798c86dfa98cbc8a7
treeb91da49168dcfa1f59502ec761042f5ecaba974f
parent9a77d0471a655b2903a9e2696aa91b4b92267583
mesa: don't smash the stack in _mesa_find_used_registers

At some point this actually triggered, not sure if it still does.

Give a meaningful assert and refuse to smash the stack anyway.
src/mesa/program/program.c