intel/vec4: fix valgrind errors with vf_values array
authorTapani Pälli <tapani.palli@intel.com>
Tue, 4 Feb 2020 12:58:17 +0000 (14:58 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Feb 2020 09:06:18 +0000 (09:06 +0000)
commitda76dfb5159c2ca8ee24d64a5f85a68f28b70c65
treef8e19fac5e5a0b383189914de00636d947d4e190
parent1572e8f3e136affb429e34ec2e8e10e206e0f3cd
intel/vec4: fix valgrind errors with vf_values array

Fixes valgrind errors introduced since commit a8ec4082.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2346
Fixes: a8ec4082 ("nir+vtn: vec8+vec16 support")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3691>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3691>
src/intel/compiler/brw_vec4_nir.cpp