nir: Don't update base in vectorize_loads()
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 4 Mar 2021 18:35:08 +0000 (18:35 +0000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Mar 2021 12:42:23 +0000 (12:42 +0000)
commit5bc42ce57975ae31fdc526818ab87274701d25b4
tree6c90d202cb36991bcde209df1edb004b5e206dc0
parentc580c3f9c7995973a6a81210af3ae361454dc5f2
nir: Don't update base in vectorize_loads()

The offset is already updated with consideration to the base above under
"/* update the offset */".

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9201>
src/compiler/nir/nir_opt_load_store_vectorize.c