mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
glsl: Fix cut-and-paste bug in hierarchical visitor ir_expression::accept
At this point in the code, s must be visit_continue. If the child returned visit_stop, visit_stop is the only correct thing to return. Found by inspection. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
7f64041cee
commit
ea6ed2379d
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ ir_expression::accept(ir_hierarchical_visitor *v)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
case visit_stop:
|
case visit_stop:
|
||||||
return s;
|
return visit_stop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue