X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Ffinalize.h;fp=source%2Fglsl%2Ffinalize.h;h=ab4276f560420b3e289cd7d1a912efa1a83c22b4;hb=89de98315588ec89ad66e9a4f3f90bf03e1f7733;hp=bde0618abf2bc3dc5d73f57209486f575fa1e1b6;hpb=efbce87192ce73ba577684369f759693dccec67c;p=libs%2Fgl.git diff --git a/source/glsl/finalize.h b/source/glsl/finalize.h index bde0618a..ab4276f5 100644 --- a/source/glsl/finalize.h +++ b/source/glsl/finalize.h @@ -36,6 +36,7 @@ private: Uniform(): location(-1), desc_set(-1), bind_point(-1) { } }; + bool alloc_new = true; std::map > used_locations; std::map uniforms; std::map > used_bindings; @@ -44,7 +45,7 @@ private: std::vector unbound_blocks; public: - void apply(Module &, const Features &); + void apply(Module &, const Features &, bool = true); private: void apply(Stage &);