]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.h
Sort diagnostics according to their provoking location
[libs/gl.git] / source / glsl / compiler.h
index 6448ae6cfa6fe962dc5097ffcf2011f835ebbaf9..5104388870f5a22bbfff775d843ce9ab095f2bbf 100644 (file)
@@ -133,6 +133,8 @@ private:
 
        bool validate(Stage &);
 
+       static bool diagnostic_line_order(const Diagnostic &, const Diagnostic &);
+
        /** Applies optimizations to a stage.  The return value indicates which
        stage should be optimized next. */
        OptimizeResult optimize(Stage &);