radeonsi/gfx10: don't insert NGG streamout atomics if they are never used
authorMarek Olšák <marek.olsak@amd.com>
Fri, 13 Dec 2019 01:17:41 +0000 (20:17 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 20:06:07 +0000 (20:06 +0000)
commit4846aeaf572db40e612c042205d45174aa6e2d5f
tree44ccb1e635de206cf567e6b1051e36750d8030e4
parentde4a4595f62a9bd1494781c203ea8b1049545605
radeonsi/gfx10: don't insert NGG streamout atomics if they are never used

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3095>
src/gallium/drivers/radeonsi/gfx10_shader_ngg.c