X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fmodule.h;h=26895ee0ba2fe9355e397026b5a068c3f7985fe4;hp=51924d606668db500e7b871f72f7677ae538190d;hb=1cc48c919cc47895ea5ae23199c20dfe909b4e4c;hpb=77973a48acbe29c2a64d43de7084574aaf7a26c4 diff --git a/source/core/module.h b/source/core/module.h index 51924d60..26895ee0 100644 --- a/source/core/module.h +++ b/source/core/module.h @@ -61,6 +61,9 @@ private: virtual void compile(SL::Compiler &) = 0; SL::Features create_features() const; + +public: + virtual void set_debug_name(const std::string &) { } }; /** @@ -278,6 +281,9 @@ public: private: std::vector collect_visited_blocks(const std::map &) const; void collect_visited_blocks(unsigned, std::vector &) const; + +public: + void set_debug_name(const std::string &n) { SpirVModuleBackend::set_debug_name(n); } }; } // namespace GL