mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
broadcom/compiler: remove one superfluous call to nir_opt_undef
v3d_optimize_nir is calling nir_opt_undef twice. As it is inside the
usual "do {..} while (progress);" loop, is not needed to call it
twice.
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26928>
This commit is contained in:
parent
a60c52e5f8
commit
54e2e44f99
1 changed files with 0 additions and 1 deletions
|
|
@ -2105,7 +2105,6 @@ v3d_optimize_nir(struct v3d_compile *c, struct nir_shader *s)
|
|||
|
||||
NIR_PASS(progress, s, nir_opt_remove_phis);
|
||||
NIR_PASS(progress, s, nir_opt_if, false);
|
||||
NIR_PASS(progress, s, nir_opt_undef);
|
||||
if (c && !c->disable_gcm) {
|
||||
bool local_progress = false;
|
||||
NIR_PASS(local_progress, s, nir_opt_gcm, false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue