X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.h;h=a515a326f2b10b21ce866fd4591e65b38558263d;hp=5104388870f5a22bbfff775d843ce9ab095f2bbf;hb=7335009e18ecbf53ad9f59d64eed2ed5abbe7b8b;hpb=801c209fa0a2878c0675b7808154de93bc42f5fd diff --git a/source/glsl/compiler.h b/source/glsl/compiler.h index 51043888..a515a326 100644 --- a/source/glsl/compiler.h +++ b/source/glsl/compiler.h @@ -131,6 +131,8 @@ private: aspects as necessary. */ void resolve(Stage &, unsigned = RESOLVE_ALL); + /** Checks the validity of the module. If the return value is false, the + module's diagnostics list will contain additional information of errors. */ bool validate(Stage &); static bool diagnostic_line_order(const Diagnostic &, const Diagnostic &);