radeonsi: reset more fields in si_llvm_context_set_ir to fix reusing ctx
authorMarek Olšák <marek.olsak@amd.com>
Thu, 12 Dec 2019 22:13:23 +0000 (17:13 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 20:06:07 +0000 (20:06 +0000)
commit8edf3df3e42da12f2bc14afeaaba5852eb05040d
tree31b1e1685656a0670c4ab90601c5765597ecddee
parent1436c261e93a5503042216156884d43fe4fc9b14
radeonsi: reset more fields in si_llvm_context_set_ir to fix reusing ctx

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3095>
src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c