r600/sfn: Unroll loops after doing some optimizations

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18983>
This commit is contained in:
Gert Wollny 2022-09-30 15:13:33 +02:00
parent 3290978053
commit 6b767f83c3

View file

@ -569,6 +569,7 @@ optimize_once(nir_shader *shader)
NIR_PASS(progress, shader, nir_opt_conditional_discard);
NIR_PASS(progress, shader, nir_opt_dce);
NIR_PASS(progress, shader, nir_opt_undef);
NIR_PASS(progress, shader, nir_opt_loop_unroll);
return progress;
}