[Mesa-dev] [PATCH 1/3] Revert "panfrost/midgard: Enable autovectorization"

Tomeu Vizoso tomeu.vizoso at collabora.com
Thu Jun 20 09:18:19 UTC 2019


This reverts commit 9402970751ca04c4d6edb3a0441a4063a975295c.
---
 src/gallium/drivers/panfrost/midgard/midgard_compile.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.c b/src/gallium/drivers/panfrost/midgard/midgard_compile.c
index 1cc551b603c7..0c8032cc80bf 100644
--- a/src/gallium/drivers/panfrost/midgard/midgard_compile.c
+++ b/src/gallium/drivers/panfrost/midgard/midgard_compile.c
@@ -476,7 +476,8 @@ optimise_nir(nir_shader *nir)
                          nir_var_shader_out |
                          nir_var_function_temp);
 
-                NIR_PASS(progress, nir, nir_opt_vectorize);
+                /* TODO: Enable vectorize when merged upstream */
+                // NIR_PASS(progress, nir, nir_opt_vectorize);
         } while (progress);
 
         /* Must be run at the end to prevent creation of fsin/fcos ops */
-- 
2.20.1



More information about the mesa-dev mailing list