nir: Fix printing of individual instructions with io semantics.
[mesa.git] / src / compiler / glsl / ir_hierarchical_visitor.h
index e10bb7c60db57491d2b18ca45ec5466f8b3f3046..dff6a39a6a43db18ca423226deda2495245b1a94 100644 (file)
@@ -149,6 +149,12 @@ public:
     */
    void run(struct exec_list *instructions);
 
+   /**
+    * Utility function to call both the leave and enter callback functions.
+    * This is used for leaf nodes.
+    */
+   void call_enter_leave_callbacks(class ir_instruction *ir);
+
    /* Some visitors may need to insert new variable declarations and
     * assignments for portions of a subtree, which means they need a
     * pointer to the current instruction in the stream, not just their