r600/sfn: Simplify dependency chain for index loads on EG
authorGert Wollny <gert.wollny@collabora.com>
Mon, 14 Aug 2023 15:47:24 +0000 (17:47 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Sep 2023 15:14:19 +0000 (15:14 +0000)
commit318b83899056d02ee83817cf16201a128fb81443
treec7c896d91f691d5145bd7c27a084aa5e15e3737f
parente9f60482fba70ed2b1d80dd1dc2cb8cf6e7419ca
r600/sfn: Simplify dependency chain for index loads on EG

Address loads that just load the index register don't need to chain
up like loads if the address register that are used for indirect
register loads. With the latter it is important that the load and the
address register use are in the same clause. For index register loads
this is scheduled accordingly.

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