Commit f3b93f12 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

[midgard] Lowering vecs to movs will be useful

parent c6b3b1c9
......@@ -267,6 +267,7 @@ optimise_nir(nir_shader *nir)
progress = false;
NIR_PASS(progress, nir, nir_lower_vars_to_ssa);
NIR_PASS(progress, nir, nir_lower_vec_to_movs);
/* Midgard does not support I/O->I/O copies; lower these */
NIR_PASS(progress, nir, nir_lower_var_copies);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment