r600/sfn/lower_tex: Get rid of the lower_sampler vector
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 22 Jul 2020 16:26:14 +0000 (11:26 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 17:38:58 +0000 (17:38 +0000)
commitcc51cec9c08b18055596a4823b272f62f928c062
tree986c1d1b2bb011dbddfd4cd47f52dfc52235126b
parent929673077c6ca9bde031d5f2e45e681e625c194b
r600/sfn/lower_tex: Get rid of the lower_sampler vector

We can get the result type information easily from nir_tex_instr itself
by looking at dest_type.  There's no reason to construct a vector and
try to index into it.

Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5966>
src/gallium/drivers/r600/sfn/sfn_instruction_tex.cpp