mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
nir/vars_to_ssa: Remove copies from the correct set
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
a1452a94fc
commit
0517d65f96
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue