]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/module.cpp
Initial implementation of Vulkan backend
[libs/gl.git] / source / core / module.cpp
index 08b3a128d4e7c49dac863b7047e4d568713f08c6..0c2df8e189678fd3a0854aa81a2857e00095588b 100644 (file)
@@ -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()