st/mesa: fix use of uninitialized memory due to st_nir_lower_builtin
authorMarek Olšák <marek.olsak@amd.com>
Sat, 21 Mar 2020 21:54:36 +0000 (17:54 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 23 Mar 2020 20:01:31 +0000 (20:01 +0000)
commit719063d4d07a8f2ab2f256ea697083a8eb07e32a
tree36f0399785b1d0467ff1ae6bf535bbea634acf4b
parent17c7f4e30ed8f7a04ae3ad80e39cfbdf8d8ea46c
st/mesa: fix use of uninitialized memory due to st_nir_lower_builtin

reported by valgrind

Cc: 19.3 20.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4274>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4274>
src/mesa/state_tracker/st_nir_lower_builtin.c