]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.cpp
Validate GLSL flow control
[libs/gl.git] / source / glsl / compiler.cpp
index e2745e1b9ae41fe6756f7b86204bdd16c86dda10..7021c62d9a2949c9459e6fa183955829bf04f469 100644 (file)
@@ -323,6 +323,7 @@ void Compiler::validate(Stage &stage)
        IdentifierValidator().apply(stage);
        ReferenceValidator().apply(stage);
        ExpressionValidator().apply(stage);
+       FlowControlValidator().apply(stage);
        StageInterfaceValidator().apply(stage);
 }