From: Eric Anholt Date: Thu, 5 Aug 2010 20:33:38 +0000 (-0700) Subject: glsl2: Make the HV actually call ir_texture's visit_leave. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=748f81a8eacabf07e1d26372a61683e6759a61a3;p=mesa.git glsl2: Make the HV actually call ir_texture's visit_leave. --- 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); }