mesa/st: Be nice with the stack -- use malloc for large structures/arrays.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 4 Nov 2011 16:57:09 +0000 (16:57 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 4 Nov 2011 22:01:17 +0000 (22:01 +0000)
commit794c5158b0a0b2978ebae6fdc2747e6febcd42c1
tree9865bc57fdbbd5eec95eaf21202380c58abf69e8
parentcd86a5d2f862f183f85ef8c7d51f69e028d04447
mesa/st: Be nice with the stack -- use malloc for large structures/arrays.

st_translate_program's data was taking 51K off the stack, causing stack
overflow on Windows.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp