summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_hv_accept.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-05 13:33:38 -0700
committerEric Anholt <[email protected]>2010-08-05 13:34:02 -0700
commit748f81a8eacabf07e1d26372a61683e6759a61a3 (patch)
tree9009e90da52a51cd4a2ed749be69eae8e5a99f4d /src/glsl/ir_hv_accept.cpp
parent7f7eaf0285d011f7cc7e1a63133184a50b24ecaa (diff)
glsl2: Make the HV actually call ir_texture's visit_leave.
Diffstat (limited to 'src/glsl/ir_hv_accept.cpp')
-rw-r--r--src/glsl/ir_hv_accept.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_hv_accept.cpp b/src/glsl/ir_hv_accept.cpp
index 8989605e26f..6dae4ed2f3f 100644
--- a/src/glsl/ir_hv_accept.cpp
+++ b/src/glsl/ir_hv_accept.cpp
@@ -212,7 +212,7 @@ ir_texture::accept(ir_hierarchical_visitor *v)
break;
}
- return visit_continue_with_parent;
+ return (s == visit_stop) ? s : v->visit_leave(this);
}