radv/gfx10: account for the subpass view for the NGG GS storage
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Sep 2019 08:32:13 +0000 (10:32 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Sep 2019 15:25:28 +0000 (17:25 +0200)
commitb1a872f0c0f03abfeb63773b509d633bb4879d24
tree7db1996c94a40eda1a748a39773ef544829e9271
parent0efc0f8edc6750003df0eea4ec1dcfa1eeb68485
radv/gfx10: account for the subpass view for the NGG GS storage

If the fragment shader needs the layer index, we have to allocate
one more dword in the NGG GS storage. Found by inspection. This
doesn't fix anything known.

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