X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprogram.h;h=b6b639bfcbb49b877bcc46254193daa36ab41400;hb=f4f81f1d86d50b29b9a44b237f67c6f5ad8f0523;hp=9a4eb27a2dcb94f7fbfadf0102a290e9460002a1;hpb=0e61ac01ae99391c6b1301a9bf8de62fe651dac3;p=libs%2Fgl.git diff --git a/source/core/program.h b/source/core/program.h index 9a4eb27a..b6b639bf 100644 --- a/source/core/program.h +++ b/source/core/program.h @@ -51,6 +51,7 @@ private: }; ReflectData reflect_data; + SpirVModule *specialized_spirv = 0; public: /// Constructs an empty Program with no shader stages attached. @@ -59,6 +60,9 @@ public: /// Constructs a Program from a Module, with specialization constants. Program(const Module &, const std::map & = std::map()); + Program(Program &&); + ~Program(); + void add_stages(const Module &, const std::map & = std::map()); private: void collect_uniforms(const SpirVModule &);