summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-09-09 12:00:50 +0200
committerSamuel Pitoiset <[email protected]>2019-09-16 12:08:22 +0200
commita72344efa3c1ca96fb627d4f1f89f438be22f3a5 (patch)
tree9c49a8bdf93ecf28ee0e7d7daacebebcc70998dc /src
parentb617156621ae46113766c6668fb717e06015c7a5 (diff)
radv/gfx10: gather GS output for VS as NGG
For streamout we have to the number of streamout outputs. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_shader_info.c2
1 files changed, 2 insertions, 0 deletions
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;