r600/sfn: Don't try to propagate to vec4 with more than one use
authorGert Wollny <gert.wollny@collabora.com>
Mon, 31 Jul 2023 07:36:18 +0000 (09:36 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Mon, 31 Jul 2023 07:37:20 +0000 (09:37 +0200)
commit618fc13db78b4b8a270daf8fe719910906e49922
tree2b98dd00cb9b8d7ef0ee1d9677cff862eff65c78
parent03ff3c0027267240d116df5e1593ffaa974690e0
r600/sfn: Don't try to propagate to vec4 with more than one use

Otherwise we end up with weird dependencies that make the scheduler
choke.

Fixes: 18a8d148d862d4a0f5b83f4385f00cf8a4a71b6d
    r600/sfn: Cleanup copy-prop into vec4 source values

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