From a72344efa3c1ca96fb627d4f1f89f438be22f3a5 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 9 Sep 2019 12:00:50 +0200 Subject: [PATCH] radv/gfx10: gather GS output for VS as NGG For streamout we have to the number of streamout outputs. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_shader_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_shader_info.c b/src/amd/vulkan/radv_shader_info.c index b839d20f1e0..e8efbf6778b 100644 --- a/src/amd/vulkan/radv_shader_info.c +++ b/src/amd/vulkan/radv_shader_info.c @@ -546,6 +546,8 @@ gather_info_output_decl(const nir_shader *nir, const nir_variable *var, if (key->vs_common_out.as_ls) gather_info_output_decl_ls(nir, var, info); + else if (key->vs_common_out.as_ngg) + gather_info_output_decl_gs(nir, var, info); break; case MESA_SHADER_GEOMETRY: vs_info = &info->vs.outinfo; -- 2.30.2