projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bbbe91
)
ac/nir: remove another unused variable
author
Grazvydas Ignotas
<notasas@gmail.com>
Wed, 7 Jun 2017 21:00:02 +0000
(
00:00
+0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Wed, 7 Jun 2017 21:02:42 +0000
(
00:02
+0300)
Declared by each loop already.
Trivial.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
src/amd/common/ac_nir_to_llvm.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_nir_to_llvm.c
b/src/amd/common/ac_nir_to_llvm.c
index 42be6de99c92a50dac273cb9f1f0ea608d330ba4..49117d21bd2c987a6be8d63d4b89ec6cd24d680d 100644
(file)
--- 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;