aco: Don't store TCS outputs to LDS when we're sure that none are read.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 9 Mar 2020 15:27:54 +0000 (16:27 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 08:34:11 +0000 (08:34 +0000)
commit61f2e8d9bbde0d4416663fd61c4f63a5a763e96a
tree6e4c1426a3cea2ae52afac8d3afb506a466e097e
parent9b36d8c23ac405be98a0e83ace1bea4d7a95df82
aco: Don't store TCS outputs to LDS when we're sure that none are read.

This allows us not to write an output to LDS, even if it has
an indirect offset.

No pipeline DB changes.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3964>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3964>
src/amd/compiler/aco_instruction_selection.cpp