mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 07:20:16 +01:00
Fix variable remapping in function cloning.
It's (ht, data, key) not (ht, key, data).
This commit is contained in:
parent
4b2d32b5b5
commit
1b2bcf7913
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ ir_variable::clone(struct hash_table *ht) const
|
|||
var->interpolation = this->interpolation;
|
||||
|
||||
if (ht) {
|
||||
hash_table_insert(ht, (void *)const_cast<ir_variable *>(this), var);
|
||||
hash_table_insert(ht, var, (void *)const_cast<ir_variable *>(this));
|
||||
}
|
||||
|
||||
return var;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue