aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_from_ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_from_ssa.c')
-rw-r--r--src/compiler/nir/nir_from_ssa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_from_ssa.c b/src/compiler/nir/nir_from_ssa.c
index 8419b28576b..99cfe757477 100644
--- a/src/compiler/nir/nir_from_ssa.c
+++ b/src/compiler/nir/nir_from_ssa.c
@@ -768,8 +768,7 @@ nir_convert_from_ssa_impl(nir_function_impl *impl, bool phi_webs_only)
nir_builder_init(&state.builder, impl);
state.dead_ctx = ralloc_context(NULL);
state.phi_webs_only = phi_webs_only;
- state.merge_node_table = _mesa_hash_table_create(NULL, _mesa_hash_pointer,
- _mesa_key_pointer_equal);
+ state.merge_node_table = _mesa_pointer_hash_table_create(NULL);
state.progress = false;
nir_foreach_block(block, impl) {