r600: Disable SB in the presence of indirection on temp arrays.
authorEmma Anholt <emma@anholt.net>
Thu, 6 Jan 2022 17:43:49 +0000 (09:43 -0800)
committerEmma Anholt <emma@anholt.net>
Mon, 28 Mar 2022 17:54:46 +0000 (10:54 -0700)
commitf315ea9eff6d8479b995355647ec297d5d9a5651
treeb1136e50ad7c52f465bedee482a60d1e8138a67f
parent955883cf0aab6d955e6255cfba3a4dad5d7fda3e
r600: Disable SB in the presence of indirection on temp arrays.

Prevents several regressions when NIR-to-TGSI is enabled where it was
allocating arrays on top of each other.

Fixes vec3 fails on RV770,
dEQP-GLES3.functional.shaders.metamorphic.bubblesort_flag.variant_1 and 2
in general, and fixes another piglit but breaks two others.  Still, this
seems to be a win.

Cc: mesa-stable
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14429>
src/gallium/drivers/r600/ci/r600-rv770-fails.txt
src/gallium/drivers/r600/ci/r600-turks-fails.txt
src/gallium/drivers/r600/r600_shader.c