]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.cpp
Add a bunch of validation for declarations in GLSL
[libs/gl.git] / source / glsl / compiler.cpp
index 40dfede3a68688e5ec9ef7a9fb23576af28d393e..9c37787c32e20424681403939357a740318856ad 100644 (file)
@@ -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);