reflect_data = ReflectData();
const Module *final_module = &mod;
- TransientData transient;
switch(mod.get_format())
{
case Module::GLSL:
- add_glsl_stages(static_cast<const GlslModule &>(mod), spec_values, transient);
+ add_glsl_stages(static_cast<const GlslModule &>(mod), spec_values);
break;
case Module::SPIR_V:
if(!spec_values.empty())
throw invalid_argument("Program::add_stages");
}
- finalize(*final_module, transient);
-
if(final_module->get_format()==Module::SPIR_V)
{
const SpirVModule &spirv_mod = *static_cast<const SpirVModule *>(final_module);