meta: Fix compilation without FEATURE_EXT_transform_feedback
[mesa.git] / src / glsl / ir_hierarchical_visitor.h
index afa780dc91211b19b34ad08fe0a897bba2b031a9..bba046db424db99f9cf66fd94d808dd739d950a8 100644 (file)
@@ -165,12 +165,20 @@ public:
     * Extra data parameter passed to the per-node callback function
     */
    void *data;
+
+   /**
+    * Currently in the LHS of an assignment?
+    *
+    * This is set and cleared by the \c ir_assignment::accept method.
+    */
+   bool in_assignee;
 };
 
 void visit_tree(ir_instruction *ir,
                void (*callback)(class ir_instruction *ir, void *data),
                void *data);
 
-ir_visitor_status visit_list_elements(ir_hierarchical_visitor *v, exec_list *l);
+ir_visitor_status visit_list_elements(ir_hierarchical_visitor *v, exec_list *l,
+                                      bool statement_list = true);
 
 #endif /* IR_HIERARCHICAL_VISITOR_H */