summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/ir_visitor.h')
-rw-r--r--src/compiler/glsl/ir_visitor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_visitor.h b/src/compiler/glsl/ir_visitor.h
index 117b5bc6ae8..b06e310ffd7 100644
--- a/src/compiler/glsl/ir_visitor.h
+++ b/src/compiler/glsl/ir_visitor.h
@@ -59,6 +59,7 @@ public:
virtual void visit(class ir_call *) = 0;
virtual void visit(class ir_return *) = 0;
virtual void visit(class ir_discard *) = 0;
+ virtual void visit(class ir_demote *) = 0;
virtual void visit(class ir_if *) = 0;
virtual void visit(class ir_loop *) = 0;
virtual void visit(class ir_loop_jump *) = 0;
@@ -83,6 +84,7 @@ public:
virtual void visit(class ir_assignment *) {}
virtual void visit(class ir_constant *) {}
virtual void visit(class ir_call *) {}
+ virtual void visit(class ir_demote *) {}
virtual void visit(class ir_emit_vertex *) {}
virtual void visit(class ir_end_primitive *) {}
virtual void visit(class ir_barrier *) {}