X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=f1ab6d088e4e1bdedd5d4188685ef2f6a55f02e0;hp=16ac375ca57f05660aa83ae89d9e75b4aff2a941;hb=89f26eba675defb38542faacacde6b9d4a2248c5;hpb=118de6cee2de6e9a6caa28415cb9008779285ff9 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