X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fmodule.cpp;h=0c2df8e189678fd3a0854aa81a2857e00095588b;hp=08b3a128d4e7c49dac863b7047e4d568713f08c6;hb=99ca354f18119f82f1adeca100cd665a8f640317;hpb=4cd245dafe6a7ee5c93edca5aee2d146f1155309 diff --git a/source/core/module.cpp b/source/core/module.cpp index 08b3a128..0c2df8e1 100644 --- a/source/core/module.cpp +++ b/source/core/module.cpp @@ -116,6 +116,7 @@ void SpirVModule::load_code(IO::Base &io) } reflect(); + create(); } void SpirVModule::compile(SL::Compiler &compiler) @@ -123,6 +124,7 @@ void SpirVModule::compile(SL::Compiler &compiler) compiler.compile(SL::Compiler::SPIRV); code = compiler.get_combined_spirv(); reflect(); + create(); } void SpirVModule::reflect()