X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=0f608d6d600313682577df96a3c7e2cccd2e5226;hb=9bec9da4ec633a541cf6048beed99629fefae2b9;hp=f5540139e3391cffd1afd1b9f2f8e709fa4b99d5;hpb=4c805f55d89919d6971d600102ab4d6d65d56dc3;p=libs%2Fgl.git diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index f5540139..0f608d6d 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -260,6 +260,7 @@ void Compiler::generate(Stage &stage, Mode mode) bool Compiler::validate(Stage &stage) { DeclarationValidator().apply(stage); + ReferenceValidator().apply(stage); for(vector::const_iterator i=stage.diagnostics.begin(); i!=stage.diagnostics.end(); ++i) if(i->severity==Diagnostic::ERR)