summaryrefslogtreecommitdiff
path: root/src/glsl/ir_print_visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_print_visitor.h')
-rw-r--r--src/glsl/ir_print_visitor.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/glsl/ir_print_visitor.h b/src/glsl/ir_print_visitor.h
index 3db42e24ca..4feeb8c184 100644
--- a/src/glsl/ir_print_visitor.h
+++ b/src/glsl/ir_print_visitor.h
@@ -38,9 +38,8 @@ extern void _mesa_print_ir(exec_list *instructions,
class ir_print_visitor : public ir_visitor {
public:
ir_print_visitor()
- : deref_depth(0)
{
- /* empty */
+ indentation = 0;
}
virtual ~ir_print_visitor()
@@ -48,6 +47,8 @@ public:
/* empty */
}
+ void indent(void);
+
/**
* \name Visit methods
*
@@ -76,7 +77,7 @@ public:
/*@}*/
private:
- int deref_depth;
+ int indentation;
};
#endif /* IR_PRINT_VISITOR_H */