radv/gfx10: make use the output usage mask when exporting NGG GS params
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Sep 2019 08:34:35 +0000 (10:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Sep 2019 15:25:28 +0000 (17:25 +0200)
commitc6be5cefba7e9480f103c2ce2794a67ed9fa33eb
tree250578cbecd92ef47057f1cc2060cd660472cf21
parentb1a872f0c0f03abfeb63773b509d633bb4879d24
radv/gfx10: make use the output usage mask when exporting NGG GS params

It shouldn't matter much because output varyings should have been
compacted during NIR shader linking but it mirrors what the driver
does when emitting NGG GS vertex parameters.

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