radeonsi: skip LDS stores in TCS if there are no LDS output reads
authorMarek Olšák <marek.olsak@amd.com>
Sat, 18 Feb 2017 14:30:25 +0000 (15:30 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 21 Feb 2017 20:27:23 +0000 (21:27 +0100)
commitd633e23192ef17207f4a6acd3009da3126aab395
tree9375aed3e70816f1d5f2f1e55c8f16930b225f4d
parent58af0a5385e108e53f766578c9e14af4bb8fc189
radeonsi: skip LDS stores in TCS if there are no LDS output reads

This removes a lot of useless LDS stores.

A few games read TESSINNER/OUTER, but not any other outputs. Most games
don't read any outputs.

The only app doing LDS output reads is UE4 Lightsroom Interior.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c