panfrost/midgard: Enable autovectorization

Enable nir_opt_vectorize.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-06-17 11:12:51 -07:00
parent 47e7c6961a
commit 9402970751

View file

@ -476,8 +476,7 @@ optimise_nir(nir_shader *nir)
nir_var_shader_out |
nir_var_function_temp);
/* TODO: Enable vectorize when merged upstream */
// NIR_PASS(progress, nir, nir_opt_vectorize);
NIR_PASS(progress, nir, nir_opt_vectorize);
} while (progress);
/* Must be run at the end to prevent creation of fsin/fcos ops */