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

Author: Samuel Pitoiset <[email protected]>
Date:   Wed Dec 20 20:55:55 2017 +0100

amd/common: do not try to declare input VS SGPRs for GS

It's a no-op anyway but it looked strange to me, remove it.

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>

---

 src/amd/common/ac_nir_to_llvm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 03e733f965..148025d430 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -880,7 +880,6 @@ static void create_function(struct nir_to_llvm_context *ctx,
                        }
                } else {
                        radv_define_common_user_sgprs_phase1(ctx, stage, 
has_previous_stage, previous_stage, &user_sgpr_info, &args, &desc_sets);
-                       radv_define_vs_user_sgprs_phase1(ctx, stage, 
has_previous_stage, previous_stage, &args);
                        add_user_sgpr_argument(&args, ctx->ac.i32, 
&ctx->gsvs_ring_stride); // gsvs stride
                        add_user_sgpr_argument(&args, ctx->ac.i32, 
&ctx->gsvs_num_entries); // gsvs num entires
                        if (ctx->shader_info->info.needs_multiview_view_index)

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

Reply via email to