radv/gfx10: always build the GS copy shader but uses it on-demand
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Jul 2019 14:39:15 +0000 (16:39 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 17 Jul 2019 06:32:30 +0000 (08:32 +0200)
commitae4b1fc095abb086a50c10ec7849645f571e5b81
tree0487487b6895d86692df8314cb4673c6c8c67f37
parent9c611fb38119d308c73dc777a1d7d1336b22fab5
radv/gfx10: always build the GS copy shader but uses it on-demand

It should be possible to build it on-demand too but it requires
more work. On GFX10, the GS copy shader is required when tess
is enabled with extreme geometry.

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