radv: declare NGG scratch for VS or TES and only on GFX10
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Oct 2019 13:41:13 +0000 (14:41 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 31 Oct 2019 06:51:01 +0000 (06:51 +0000)
commit1e36a8f41db9908cbb0773b4bd9731e0b9d166f9
tree669fc5c44445286e1883c3373665195468c8f1c1
parenta9391a1a01dea4867d3c950687bc63dedbe853c8
radv: declare NGG scratch for VS or TES and only on GFX10

Do not need to declare it for other stages because this is for
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