]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Reduce coupling between the GLSL compiler and the graphics engine
[libs/gl.git] / source / glsl / syntax.h
index e9c76ebab9974749858c217475bc2bccf7b31729..3fb848d2ceb81a91fdc07ab19f0e072b0b71010c 100644 (file)
@@ -6,7 +6,7 @@
 #include <string>
 #include <vector>
 #include <msp/core/refptr.h>
-#include "extension.h"
+#include "features.h"
 #include "sourcemap.h"
 
 #pragma push_macro("interface")
@@ -386,8 +386,7 @@ struct Stage
        std::map<std::string, VariableDeclaration *> in_variables;
        std::map<std::string, VariableDeclaration *> out_variables;
        std::map<std::string, unsigned> locations;
-       Version required_version;
-       std::vector<const Extension *> required_extensions;
+       Features required_features;
 
        Stage(Type);