summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_hierarchical_visitor.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-08-05 15:29:24 -0700
committerIan Romanick <[email protected]>2010-09-03 11:55:21 -0700
commitc8ee8e07f7cc8f18d367ffcec065b45f8a6976f4 (patch)
tree5f39dcf62ff8f2cb6799c023995fabce2d2ab121 /src/glsl/ir_hierarchical_visitor.cpp
parent29eebe9a9a0486f12e33e2818c192ef683fdfede (diff)
glsl2: Set a flag when visiting the assignee of an assignment
Diffstat (limited to 'src/glsl/ir_hierarchical_visitor.cpp')
-rw-r--r--src/glsl/ir_hierarchical_visitor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_hierarchical_visitor.cpp b/src/glsl/ir_hierarchical_visitor.cpp
index 809b08ee62c..b5eacd6d2d4 100644
--- a/src/glsl/ir_hierarchical_visitor.cpp
+++ b/src/glsl/ir_hierarchical_visitor.cpp
@@ -29,6 +29,7 @@ ir_hierarchical_visitor::ir_hierarchical_visitor()
this->base_ir = NULL;
this->callback = NULL;
this->data = NULL;
+ this->in_assignee = false;
}
ir_visitor_status