st/glsl_to_tgsi: don't use rzalloc_array() when it's unnecessary
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 May 2017 09:01:37 +0000 (11:01 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 8 May 2017 14:04:05 +0000 (16:04 +0200)
commit14187e1e9e12151e11ca167ce501c671c98d69c6
tree30b167a26a01be54da9e43f0cb18baeffe38bb65
parente3a5ab2d66563174455683d1dcd53aaaba9cd299
st/glsl_to_tgsi: don't use rzalloc_array() when it's unnecessary

When the arrays are initialized later on with -1, that's useless
to use rzalloc_array().

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp