projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
egl/wayland: add missing newline between functions
[mesa.git]
/
src
/
compiler
/
glsl
/
ir_rvalue_visitor.h
diff --git
a/src/compiler/glsl/ir_rvalue_visitor.h
b/src/compiler/glsl/ir_rvalue_visitor.h
index 185c72a5ba1fc4e240f277992d6928d72cdcbb8a..73d1885a25e55b3430efb51a8f74ba754a52dbc8 100644
(file)
--- a/
src/compiler/glsl/ir_rvalue_visitor.h
+++ b/
src/compiler/glsl/ir_rvalue_visitor.h
@@
-30,6
+30,9
@@
* a pointer to each rvalue in the tree.
*/
* a pointer to each rvalue in the tree.
*/
+#ifndef GLSL_IR_RVALUE_VISITOR_H
+#define GLSL_IR_RVALUE_VISITOR_H
+
class ir_rvalue_base_visitor : public ir_hierarchical_visitor {
public:
ir_visitor_status rvalue_visit(ir_assignment *);
class ir_rvalue_base_visitor : public ir_hierarchical_visitor {
public:
ir_visitor_status rvalue_visit(ir_assignment *);
@@
-81,3
+84,5
@@
public:
virtual ir_visitor_status visit_enter(ir_emit_vertex *);
virtual ir_visitor_status visit_enter(ir_end_primitive *);
};
virtual ir_visitor_status visit_enter(ir_emit_vertex *);
virtual ir_visitor_status visit_enter(ir_end_primitive *);
};
+
+#endif /* GLSL_IR_RVALUE_VISITOR_H */