X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=e676fcc87233764cc529fe98203bc5d8b666df0f;hb=3fe1aab63922eec99d8bf6fd4fd60bec10df173c;hp=00efbd94393c4399d0dbc206551575f5bf93fc22;hpb=ac4218f733b4c8f09b64e72164bd4321a4c1abd2;p=libs%2Fgl.git diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index 00efbd94..e676fcc8 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -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);