Mesa (master): vc4: Fix stray disable of the CSE pass.

Eric Anholt anholt at kemper.freedesktop.org
Wed Sep 17 21:31:06 UTC 2014


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 17 13:37:53 2014 -0700

vc4: Fix stray disable of the CSE pass.

Somehow I slipped this in with the original commit of CSE.

---

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

diff --git a/src/gallium/drivers/vc4/vc4_opt_cse.c b/src/gallium/drivers/vc4/vc4_opt_cse.c
index 33e17d7..ef4818f 100644
--- a/src/gallium/drivers/vc4/vc4_opt_cse.c
+++ b/src/gallium/drivers/vc4/vc4_opt_cse.c
@@ -124,7 +124,6 @@ qir_opt_cse(struct vc4_compile *c)
         struct qinst *last_sf = NULL;
         uint32_t sf_count = 0, r4_count = 0;
 
-        return false;
         struct hash_table *ht = _mesa_hash_table_create(NULL, inst_key_equals);
         if (!ht)
                 return false;




More information about the mesa-commit mailing list