vc4: Fix build since 8ed5305d28d9309d651dfec3fbf4349854694694
authorEric Anholt <eric@anholt.net>
Tue, 20 Jan 2015 22:19:29 +0000 (14:19 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 20 Jan 2015 22:19:29 +0000 (14:19 -0800)
src/gallium/drivers/vc4/vc4_opt_cse.c

index aff777beb47a101e20520f614475384b44da4235..c11c90efcdc7fb6ad7ec02f342c907b828f778c1 100644 (file)
@@ -106,7 +106,7 @@ vc4_find_cse(struct vc4_compile *c, struct hash_table *ht,
         if (!alloc_key)
                 return NULL;
         memcpy(alloc_key, &key, sizeof(*alloc_key));
-        _mesa_hash_table_insert_with_hash(ht, hash, alloc_key, inst);
+        _mesa_hash_table_insert_pre_hashed(ht, hash, alloc_key, inst);
 
         if (debug) {
                 fprintf(stderr, "Added to CSE HT: ");