r600: Fix lower-to-scalar on TTN path
authorGert Wollny <gert.wollny@collabora.com>
Mon, 21 Nov 2022 08:39:35 +0000 (09:39 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 21 Nov 2022 10:53:44 +0000 (10:53 +0000)
commit67ffe25fd9de94acc654312ec9261d811d139adf
tree9fef07a2fb1450ec4993d82740fe33b59e86861f
parenta69eafc4226479fc143807a3a0c2ce52a3bc3939
r600: Fix lower-to-scalar on TTN path

We must limit what alu ops are scalazized, and since we now
run finalize_nir we also have to make sure not to try to
scalarize backend specific instructions that are introduced
there.

While we touch the code, also remove the vectorization, it is
no longer helping.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7747

Fixes: a81c50a2 (r600/sfn: implement finalize_nir)

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19892>
src/gallium/drivers/r600/r600_shader.c