radeonsi: don't execute LDS stores for TCS outputs that are never read
authorMarek Olšák <marek.olsak@amd.com>
Sat, 15 Aug 2020 03:41:13 +0000 (23:41 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 3 Sep 2020 03:03:00 +0000 (23:03 -0400)
commit562b8c1a4793e5e448f9df8f91babcc164051dbd
treeb648bdc795f1fe91289985f79caf7b345063a9c5
parent08ee72100fe22e067564cf71c25131771203dd36
radeonsi: don't execute LDS stores for TCS outputs that are never read

This is a per-component version of the previous mechanism.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6340>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_llvm_tess.c
src/gallium/drivers/radeonsi/si_shader_nir.c