mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
nir: reword code comment
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
This commit is contained in:
parent
48b40380e3
commit
c03d6e61cc
1 changed files with 2 additions and 2 deletions
|
|
@ -239,8 +239,8 @@ compute_induction_information(loop_info_state *state)
|
|||
nir_foreach_phi_src(src, phi) {
|
||||
nir_loop_variable *src_var = get_loop_var(src->src.ssa, state);
|
||||
|
||||
/* If one of the sources is in a conditional or nested block then
|
||||
* panic.
|
||||
/* If one of the sources is in an if branch or nested loop then don't
|
||||
* attempt to go any further.
|
||||
*/
|
||||
if (src_var->in_if_branch || src_var->in_nested_loop)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue