diff options
author | Jason Ekstrand <[email protected]> | 2018-03-15 16:42:13 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-03-30 17:20:27 -0700 |
commit | 0517d65f9639349d626aeb2af48ba9e4e605900d (patch) | |
tree | 3242b8c358c922001c01721025c95c2fd3d50389 /src | |
parent | a1452a94fca458c1129f527b775e1124a449ed2b (diff) |
nir/vars_to_ssa: Remove copies from the correct set
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/nir/nir_lower_vars_to_ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_vars_to_ssa.c b/src/compiler/nir/nir_lower_vars_to_ssa.c index e8cfe308d26..0cc65143e76 100644 --- a/src/compiler/nir/nir_lower_vars_to_ssa.c +++ b/src/compiler/nir/nir_lower_vars_to_ssa.c @@ -464,7 +464,7 @@ lower_copies_to_load_store(struct deref_node *node, struct set_entry *arg_entry = _mesa_set_search(arg_node->copies, copy); assert(arg_entry); - _mesa_set_remove(node->copies, arg_entry); + _mesa_set_remove(arg_node->copies, arg_entry); } nir_instr_remove(©->instr); |