broadcom/compiler: don't unroll due to indirect indexing of outputs

We can handle this natively now, so there is no point.

Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10723>
This commit is contained in:
Iago Toral Quiroga 2021-05-10 09:18:38 +02:00 committed by Marge Bot
parent 9f5481cf78
commit f0fef41917

View file

@ -1838,7 +1838,6 @@ v3d_optimize_nir(struct v3d_compile *c, struct nir_shader *s)
bool local_progress = false;
NIR_PASS(local_progress, s, nir_opt_loop_unroll,
nir_var_shader_in |
nir_var_shader_out |
nir_var_function_temp);
c->unrolled_any_loops |= local_progress;
progress |= local_progress;