glsl_to_tgsi: allocate arrays separately v2
authorChristian König <christian.koenig@amd.com>
Sun, 10 Mar 2013 13:33:29 +0000 (14:33 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 19 Mar 2013 12:38:32 +0000 (13:38 +0100)
commit3f67251e3d0ce61a0e7fc16de91de6fb49cad768
tree0a061f72cd9bfea678f83437aad426a60cf615fe
parent433b2ca46be2e9bb2f8e787efd6e040b57b998c4
glsl_to_tgsi: allocate arrays separately v2

Instead of allocating everything as temporaries, use the
new array allocation functions.

v2: fix bug in simplify_cmp, declare arrays on demand

Signed-off-by: Christian König <christian.koenig@amd.com>
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp