radv/gfx10: do not declare LDS for NGG if useless
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 8 Jan 2020 07:39:10 +0000 (08:39 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 13 Jan 2020 07:14:43 +0000 (08:14 +0100)
commit471738e97b0c7211a193d796b543481657e2ae86
treedeb7b211a0467bfadefd81e75b7b1dc23e0ab954
parent0758f645d0784942cd2ba99376d0224c61c4ee99
radv/gfx10: do not declare LDS for NGG if useless

Only needed for NGG without passthrough mode or for NGG streamout.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c