X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=f1ab6d088e4e1bdedd5d4188685ef2f6a55f02e0;hb=0859998b4d394cb31f92c1031339bf6404561a8a;hp=16ac375ca57f05660aa83ae89d9e75b4aff2a941;hpb=b23a9af95c65c01d949153fc49e5091aaa7c3d30;p=libs%2Fgl.git diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index 16ac375c..f1ab6d08 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -299,6 +299,9 @@ void Compiler::generate(Stage &stage) variables through interfaces. */ InterfaceGenerator().apply(stage); resolve(stage, RESOLVE_BLOCKS|RESOLVE_TYPES|RESOLVE_VARIABLES); + + ArraySizer().apply(stage); + resolve(stage, RESOLVE_EXPRESSIONS); } template