summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2017-06-08 00:00:02 +0300
committerGrazvydas Ignotas <[email protected]>2017-06-08 00:02:42 +0300
commit19f6cc3cbadfc89b7eba2f9d0b70bafac5b847e3 (patch)
tree088ae848438f346dbc33af9b89bd43dfbe1f4d28 /src/amd
parent5bbbe9179933039dadc355c44387984198a9a3a2 (diff)
ac/nir: remove another unused variable
Declared by each loop already. Trivial. Signed-off-by: Grazvydas Ignotas <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/ac_nir_to_llvm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 42be6de99c9..49117d21bd2 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -708,7 +708,6 @@ static void allocate_user_sgprs(struct nir_to_llvm_context *ctx,
static void create_function(struct nir_to_llvm_context *ctx)
{
- unsigned i;
unsigned num_sets = ctx->options->layout ? ctx->options->layout->num_sets : 0;
uint8_t user_sgpr_idx;
struct user_sgpr_info user_sgpr_info;