]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/output.h
Don't omit builtins when formatting a single node
[libs/gl.git] / source / glsl / output.h
index 61c02caada72aed11f5e7361c55b639ccde449b9..0a506a5d9e15b2080a392eb5ef628730683d9de7 100644 (file)
@@ -14,17 +14,17 @@ class Formatter: private TraversingVisitor
 {
 private:
        Stage *stage;
-       Compiler::Mode mode;
        std::string formatted;
        unsigned source_index;
        unsigned source_line;
        unsigned indent;
        bool parameter_list;
+       bool omit_builtin;
 
 public:
        Formatter();
 
-       const std::string &apply(Stage &, Compiler::Mode);
+       const std::string &apply(Stage &);
        const std::string &apply(Node &n) { n.visit(*this); return formatted; }
 
 private: