nir: fix wrong assignment to buffer in xfb_varyings_info
authorHyunjun Ko <zzoon@igalia.com>
Mon, 6 Apr 2020 04:55:19 +0000 (04:55 +0000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Apr 2020 08:55:05 +0000 (08:55 +0000)
commit9f174eb2df128dd89f61ac07b5d394c24668a43c
tree3263d490739a58b3968d25484cde80a3ab46ceab
parent84e845c9696ab673f1d95fda47843028ed0c71a7
nir: fix wrong assignment to buffer in xfb_varyings_info

Tested with dEQP-VK.transform_feedback.fuzz.various_buffers.buffers100_instance_array_vertex

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4459>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4459>
src/compiler/nir/nir_gather_xfb_info.c