projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b4038
)
nir: reword code comment
author
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 26 Nov 2018 01:04:35 +0000
(12:04 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 12 Dec 2018 23:58:35 +0000
(10:58 +1100)
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/compiler/nir/nir_loop_analyze.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_loop_analyze.c
b/src/compiler/nir/nir_loop_analyze.c
index 6c06f51c3490dd639c670ed956dc1fbe5c3656e4..4a7397d2149320e88309cf428b1386169616fb3e 100644
(file)
--- a/
src/compiler/nir/nir_loop_analyze.c
+++ b/
src/compiler/nir/nir_loop_analyze.c
@@
-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 a
n 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;