]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/output.h
Further refactor the resolving process in SL::Compiler
[libs/gl.git] / source / glsl / output.h
index e09f7c2ebca8c5dd18e094f89ed9a8939027007c..69a99d1e5e67979f9dddcd48d5db4c236ce5882e 100644 (file)
@@ -9,6 +9,7 @@ namespace Msp {
 namespace GL {
 namespace SL {
 
+/** Formats the syntax tree as GLSL. */
 class Formatter: private TraversingVisitor
 {
 private:
@@ -36,6 +37,7 @@ private:
        virtual void visit(Literal &);
        virtual void visit(ParenthesizedExpression &);
        virtual void visit(VariableReference &);
+       virtual void visit(InterfaceBlockReference &);
        virtual void visit(MemberAccess &);
        virtual void visit(UnaryExpression &);
        virtual void visit(BinaryExpression &);
@@ -55,7 +57,6 @@ private:
        virtual void visit(Passthrough &);
        virtual void visit(Return &);
        virtual void visit(Jump &);
-       using TraversingVisitor::visit;
 };
 
 } // namespace SL