nak: Convert to LCSSA before divergence analysis
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
This commit is contained in:

committed by
Marge Bot

parent
3528a0760c
commit
06902bf52e
@@ -1011,6 +1011,7 @@ nak_postprocess_nir(nir_shader *nir,
|
|||||||
}
|
}
|
||||||
} while (progress);
|
} while (progress);
|
||||||
|
|
||||||
|
nir_convert_to_lcssa(nir, true, true);
|
||||||
nir_divergence_analysis(nir);
|
nir_divergence_analysis(nir);
|
||||||
|
|
||||||
OPT(nir, nak_nir_remove_barriers);
|
OPT(nir, nak_nir_remove_barriers);
|
||||||
|
Reference in New Issue
Block a user