X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=9c37787c32e20424681403939357a740318856ad;hb=f2ad2730858046b08e8147297fa01bf3499b86a3;hp=40dfede3a68688e5ec9ef7a9fb23576af28d393e;hpb=7a62eb7f7550df161656616f2ece5a094b754392;p=libs%2Fgl.git diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index 40dfede3..9c37787c 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -300,7 +300,7 @@ void Compiler::resolve(Stage &stage, unsigned flags) bool Compiler::validate(Stage &stage) { - TypeValidator().apply(stage); + DeclarationValidator().apply(stage); IdentifierValidator().apply(stage); ReferenceValidator().apply(stage); ExpressionValidator().apply(stage);