]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Track source names in SL::Module
[libs/gl.git] / source / glsl / syntax.h
index ac67a3fb9474dcd202682dd9795f939299750b31..7764712498bb3106666f3e8bee98de72881516df 100644 (file)
@@ -7,6 +7,7 @@
 #include <vector>
 #include <msp/core/refptr.h>
 #include "extension.h"
+#include "sourcemap.h"
 #include "uniform.h"
 
 #pragma push_macro("interface")
@@ -386,6 +387,7 @@ struct Stage
 
 struct Module
 {
+       SourceMap source_map;
        Stage shared;
        std::list<Stage> stages;