Mesa (master): vc4: Fix build since 8ed5305d28d9309d651dfec3fbf4349854694694

Eric Anholt anholt at kemper.freedesktop.org
Tue Jan 20 22:20:01 UTC 2015


Module: Mesa
Branch: master
Commit: b368c91f261db140ebdb143c894d4921aa320655
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b368c91f261db140ebdb143c894d4921aa320655

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jan 20 14:19:29 2015 -0800

vc4: Fix build since 8ed5305d28d9309d651dfec3fbf4349854694694

---

 src/gallium/drivers/vc4/vc4_opt_cse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/vc4/vc4_opt_cse.c b/src/gallium/drivers/vc4/vc4_opt_cse.c
index aff777b..c11c90e 100644
--- a/src/gallium/drivers/vc4/vc4_opt_cse.c
+++ b/src/gallium/drivers/vc4/vc4_opt_cse.c
@@ -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: ");




More information about the mesa-commit mailing list