diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-17 11:12:51 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-18 06:44:13 -0700 |
commit | 9402970751ca04c4d6edb3a0441a4063a975295c (patch) | |
tree | 8732a99f0f332859a8924acd589dd591fb585cae /src/gallium/drivers/panfrost | |
parent | 47e7c6961a36549118166a4f38072cb7711e8d52 (diff) |
panfrost/midgard: Enable autovectorization
Enable nir_opt_vectorize.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r-- | src/gallium/drivers/panfrost/midgard/midgard_compile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.c b/src/gallium/drivers/panfrost/midgard/midgard_compile.c index 602530fad89..304bcf8ddfa 100644 --- a/src/gallium/drivers/panfrost/midgard/midgard_compile.c +++ b/src/gallium/drivers/panfrost/midgard/midgard_compile.c @@ -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 */ |