Commit ffb6eb6d authored by Jonathan Marek's avatar Jonathan Marek Committed by Marge Bot
Browse files

freedreno/ir3: run nir_opt_loop_unroll in optimization loop

GL driver was relying on this being done by gallium, but there might be
new loops to unroll during optimizations and turnip needs it.
Signed-off-by: Jonathan Marek's avatarJonathan Marek <>
Part-of: <mesa/mesa!5818>
parent 9c23afeb
......@@ -8,7 +8,6 @@ dEQP-VK.draw.output_location.array.b8g8r8a8-unorm-mediump-output-vec3
......@@ -194,6 +194,7 @@ ir3_optimize_loop(nir_shader *s)
OPT(s, nir_opt_dce);
progress |= OPT(s, nir_opt_if, false);
progress |= OPT(s, nir_opt_loop_unroll, nir_var_all);
progress |= OPT(s, nir_opt_remove_phis);
progress |= OPT(s, nir_opt_undef);
} while (progress);
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