]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirv.h
Handle function forward declarations in the SPIR-V generator
[libs/gl.git] / source / glsl / spirv.h
index add5a967d3659d525901101cb25e3712601a2f03..26467bcd15a3941858ceb82b6bf3cc1eb0fc4c84 100644 (file)
@@ -113,6 +113,7 @@ private:
        Id import_extension(const std::string &);
        Id get_id(Node &) const;
        Id allocate_id(Node &, Id);
+       Id allocate_forward_id(Node &);
        Id write_constant(Id, Word, bool);
        static ConstantKey get_constant_key(Id, const Variant &value);
        Id get_constant_id(Id, const Variant &value);