X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.h;h=5104388870f5a22bbfff775d843ce9ab095f2bbf;hp=6448ae6cfa6fe962dc5097ffcf2011f835ebbaf9;hb=50a79aee4c53c4198bae38c7ff447133a043aacc;hpb=d18df036b247f7f0978b547bb8ea1d624af2c4b2 diff --git a/source/glsl/compiler.h b/source/glsl/compiler.h index 6448ae6c..51043888 100644 --- a/source/glsl/compiler.h +++ b/source/glsl/compiler.h @@ -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 &);