Mesa (master): nir/vars_to_ssa: Remove copies from the correct set
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Sat Mar 31 00:21:23 UTC 2018
Module: Mesa
Branch: master
Commit: 0517d65f9639349d626aeb2af48ba9e4e605900d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0517d65f9639349d626aeb2af48ba9e4e605900d
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Mar 15 16:42:13 2018 -0700
nir/vars_to_ssa: Remove copies from the correct set
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: mesa-stable at lists.freedesktop.org
---
src/compiler/nir/nir_lower_vars_to_ssa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/nir/nir_lower_vars_to_ssa.c b/src/compiler/nir/nir_lower_vars_to_ssa.c
index e8cfe308d2..0cc65143e7 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);
More information about the mesa-commit
mailing list