X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=16ac375ca57f05660aa83ae89d9e75b4aff2a941;hb=HEAD;hp=05bf421cd422428dbf1b09b5eef3d0daf737c3f9;hpb=77973a48acbe29c2a64d43de7084574aaf7a26c4;p=libs%2Fgl.git diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index 05bf421c..97c234f7 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -318,6 +318,7 @@ void Compiler::generate(Stage &stage) InterfaceGenerator().apply(stage); resolve(stage, RESOLVE_BLOCKS|RESOLVE_TYPES|RESOLVE_VARIABLES); + LayoutDefaulter().apply(stage); ArraySizer().apply(stage); resolve(stage, RESOLVE_EXPRESSIONS); }