]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.h
Reduce coupling between the GLSL compiler and the graphics engine
[libs/gl.git] / source / glsl / compiler.h
index 0ecec70d52e38369532be5902634c4bcf2e93463..8340aa6d817bf426caa495eb981944092b9bf256 100644 (file)
@@ -2,6 +2,8 @@
 #define MSP_GL_SL_COMPILER_H_
 
 #include <vector>
+#include <msp/datafile/collection.h>
+#include <msp/io/base.h>
 #include "parser.h"
 #include "syntax.h"
 
@@ -19,11 +21,13 @@ public:
        };
 
 private:
+       Features features;
        Module *module;
        std::vector<std::string> imported_names;
 
 public:
        Compiler();
+       Compiler(const Features &);
        ~Compiler();
 
 private: