Mesa (glsl2): glsl2: Make the HV actually call ir_texture's visit_leave.

Eric Anholt anholt at kemper.freedesktop.org
Thu Aug 5 20:40:34 UTC 2010


Module: Mesa
Branch: glsl2
Commit: 748f81a8eacabf07e1d26372a61683e6759a61a3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=748f81a8eacabf07e1d26372a61683e6759a61a3

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Aug  5 13:33:38 2010 -0700

glsl2: Make the HV actually call ir_texture's visit_leave.

---

 src/glsl/ir_hv_accept.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/ir_hv_accept.cpp b/src/glsl/ir_hv_accept.cpp
index 8989605..6dae4ed 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);
 }
 
 




More information about the mesa-commit mailing list