X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fgenerate.h;h=427f4de2360d977819d02ba9373b5beb7dfee7fe;hp=a728e99ced3a8bccd24aaa89de94cbbddee09664;hb=041ba4b1acd55337239c5ce24cc310118c621206;hpb=c1d3a1d7c1997bc71a30af2e2c25cb4a2b66784b diff --git a/source/glsl/generate.h b/source/glsl/generate.h index a728e99c..427f4de2 100644 --- a/source/glsl/generate.h +++ b/source/glsl/generate.h @@ -68,6 +68,7 @@ private: std::map alias_map; std::map array_types; NodeList::iterator type_insert_point; + InterfaceBlock *iface_block; bool r_any_resolved; public: @@ -83,6 +84,7 @@ private: virtual void visit(ImageTypeDeclaration &); virtual void visit(StructDeclaration &); virtual void visit(VariableDeclaration &); + virtual void visit(InterfaceBlock &); virtual void visit(FunctionDeclaration &); }; @@ -93,7 +95,6 @@ class VariableResolver: private TraversingVisitor private: Stage *stage; RefPtr r_replacement_expr; - std::string block_interface; bool r_any_resolved; bool record_target; bool r_self_referencing; @@ -196,7 +197,6 @@ private: std::string in_prefix; std::string out_prefix; bool function_scope; - InterfaceBlock *iface_block; bool copy_block; Block *iface_target_block; NodeList::iterator iface_insert_point;