X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fcompiler.cpp;h=1948722a6c29b24fb3a36c92759a3dec592479d3;hb=a8472c4fc8bce5db0d50d920f9c4159bda631e30;hp=e0a676065953412db77519308f28db7becd88af2;hpb=20a86c5905e1f7527d3c9edc3f56f6b7679c268a;p=libs%2Fgl.git 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);