projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f64041
)
glsl: Fix cut-and-paste bug in hierarchical visitor ir_expression::accept
author
Ian Romanick
<ian.d.romanick@intel.com>
Thu, 15 Sep 2016 18:11:12 +0000
(11:11 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 27 Sep 2016 19:06:46 +0000
(12:06 -0700)
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>
src/compiler/glsl/ir_hv_accept.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/ir_hv_accept.cpp
b/src/compiler/glsl/ir_hv_accept.cpp
index 213992af28ca2031399d088f00dd522c890b8a93..5cc6a346fa4ad35cf63867a5c3f59835ebc545c3 100644
(file)
--- a/
src/compiler/glsl/ir_hv_accept.cpp
+++ b/
src/compiler/glsl/ir_hv_accept.cpp
@@
-147,7
+147,7
@@
ir_expression::accept(ir_hierarchical_visitor *v)
goto done;
case visit_stop:
- return
s
;
+ return
visit_stop
;
}
}