aco: Only store TCS outputs to VMEM when they are read by TES.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 13 Apr 2020 17:03:55 +0000 (19:03 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 17:58:57 +0000 (17:58 +0000)
commit25775d346c5bd91c8def493ee6e76d1c8e44b059
tree3962e9fa76c3f0f080ea29d38efa435103293756
parentb779d05d711dedb32f6aca85ba4f9b28be78e7ea
aco: Only store TCS outputs to VMEM when they are read by TES.

Totals from affected shaders (GFX10):
Code Size: 10832 -> 10736 (-0.89 %) bytes

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