]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.cpp
Add basic Vulkan support to the shader compiler
[libs/gl.git] / source / glsl / compiler.cpp
index 00efbd94393c4399d0dbc206551575f5bf93fc22..e676fcc87233764cc529fe98203bc5d8b666df0f 100644 (file)
@@ -329,7 +329,7 @@ void Compiler::resolve(Stage &stage, unsigned flags)
 
 void Compiler::validate(Stage &stage)
 {
-       DeclarationValidator().apply(stage);
+       DeclarationValidator().apply(stage, features);
        IdentifierValidator().apply(stage);
        ReferenceValidator().apply(stage);
        ExpressionValidator().apply(stage);