summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-12-20 20:55:51 +0100
committerSamuel Pitoiset <[email protected]>2017-12-27 10:24:44 +0100
commit6edf1fcdf524e7815245ee308b575e319f2e65b8 (patch)
treeb0c00aaef0a5d396d8e73e3a22ed9ee3623420a7
parent0f8290dd323bb089965f45e3e87fe58b65b8076a (diff)
amd/common: remove unnecessary user_sgpr_count
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r--src/amd/common/ac_nir_to_llvm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 87f1918c5e4..e58cf1f85ec 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