From: Samuel Pitoiset Date: Wed, 20 Dec 2017 19:55:51 +0000 (+0100) Subject: amd/common: remove unnecessary user_sgpr_count X-Git-Tag: upstream/18.1.0~3061 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6edf1fcdf524e7815245ee308b575e319f2e65b8;p=platform%2Fupstream%2Fmesa.git amd/common: remove unnecessary user_sgpr_count Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 87f1918..e58cf1f 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -252,7 +252,6 @@ struct arg_info { LLVMValueRef *assign[MAX_ARGS]; unsigned array_params_mask; uint8_t count; - uint8_t user_sgpr_count; uint8_t sgpr_count; uint8_t num_user_sgprs_used; uint8_t num_sgprs_used; @@ -285,7 +284,6 @@ add_user_sgpr_argument(struct arg_info *info, { add_sgpr_argument(info, type, param_ptr); info->num_user_sgprs_used += ac_get_type_size(type) / 4; - info->user_sgpr_count++; } static inline void