aco: Don't store LS VS outputs to LDS when TCS doesn't need them.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 26 Mar 2020 18:36:05 +0000 (19:36 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 13:09:08 +0000 (13:09 +0000)
commit0f847b18bc91dced5725169e8c96bef6c077db90
treee6c85c37e25b57162912d5e1cca0c8f22cad7a5a
parent798dd98d6e530afc5dab2f973785fbbd4e598dee
aco: Don't store LS VS outputs to LDS when TCS doesn't need them.

Totals:
Code Size: 254764624 -> 254745104 (-0.01 %) bytes

Totals from affected shaders:
VGPRS: 12132 -> 12112 (-0.16 %)
Code Size: 573364 -> 553844 (-3.40 %) bytes

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/4165>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4165>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp