gallivm: alloca() was called too often for temporary arrays
authorBrian Paul <brianp@vmware.com>
Fri, 5 Nov 2010 14:49:53 +0000 (08:49 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 5 Nov 2010 14:49:57 +0000 (08:49 -0600)
commite8d6b2793ff3907d3646eeaceaa00e2a04728e67
tree194b9732835ccf8c9b0d824eb630cd98d895c2e5
parent3168c6ff1a239d089180be77a5774b566aade1e9
gallivm: alloca() was called too often for temporary arrays

Need to increment the array index to point to the last value.
Before, we were calling lp_build_array_alloca() over and over for
no reason.
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c