radv: reduce the number of parameters export by the GS copy shader
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 May 2018 14:04:36 +0000 (16:04 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 May 2018 19:38:23 +0000 (21:38 +0200)
commit97b179570c092632589dba1bd0ed49ec3b4d5cd5
tree368bd5032684adb6b6ec6394f1a49ece936157a3
parent560bd9eb67fb24b05816c3afb9a47794eddb61aa
radv: reduce the number of parameters export by the GS copy shader

By using the geometry shader output usage mask.

This improves all Vulkan demos that use a geometry shader
(ie. geometryshader, deferredshadows, viewportarray).

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