diff options
Diffstat (limited to 'src/compiler/nir/nir_clone.c')
-rw-r--r-- | src/compiler/nir/nir_clone.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_clone.c b/src/compiler/nir/nir_clone.c index c7c41ef5c6b..557c7d29f53 100644 --- a/src/compiler/nir/nir_clone.c +++ b/src/compiler/nir/nir_clone.c @@ -62,8 +62,7 @@ init_clone_state(clone_state *state, struct hash_table *remap_table, if (remap_table) { state->remap_table = remap_table; } else { - state->remap_table = _mesa_hash_table_create(NULL, _mesa_hash_pointer, - _mesa_key_pointer_equal); + state->remap_table = _mesa_pointer_hash_table_create(NULL); } list_inithead(&state->phi_srcs); |