Module: Mesa
Branch: master
Commit: a72344efa3c1ca96fb627d4f1f89f438be22f3a5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a72344efa3c1ca96fb627d4f1f89f438be22f3a5

Author: Samuel Pitoiset <[email protected]>
Date:   Mon Sep  9 12:00:50 2019 +0200

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]>

---

 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;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to