X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Foptimize.h;h=08ee082b99cd9e070dd5003de3cdc936ef21d396;hb=d5c38c181cac4da490c96123e5a88a8c06785e55;hp=5091b008634b3d887df606844b326ccc3b353237;hpb=499c0515cde44b304d131ac7ac3b2030c9dbe11c;p=libs%2Fgl.git diff --git a/source/glsl/optimize.h b/source/glsl/optimize.h index 5091b008..08ee082b 100644 --- a/source/glsl/optimize.h +++ b/source/glsl/optimize.h @@ -40,11 +40,9 @@ class InlineContentInjector: private TraversingVisitor { private: FunctionDeclaration *source_func; - Block *target_block; - std::map variable_map; + Block staging_block; std::string remap_prefix; unsigned remap_names; - bool deps_only; RefPtr r_inlined_statement; std::set dependencies; std::set referenced_names;