X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=1948722a6c29b24fb3a36c92759a3dec592479d3;hp=e0a676065953412db77519308f28db7becd88af2;hb=7b03ca83ca6c48b9f8c3f77c13760e7f87e9632d;hpb=9cfccf5c4e366e033cfd5eebf8955d2b13202b46 diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index e0a67606..1948722a 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -106,6 +106,8 @@ void Compiler::compile(Mode mode) else if(result!=REDO_STAGE) ++i; } + + LocationAllocator().apply(*module); for(list::iterator i=module->stages.begin(); i!=module->stages.end(); ++i) finalize(*i, mode);