features = feat;
if(!supports_stage(s.type))
throw unsupported_shader(format("Stage %s is not supported", Stage::get_stage_name(s.type)));
features = feat;
if(!supports_stage(s.type))
throw unsupported_shader(format("Stage %s is not supported", Stage::get_stage_name(s.type)));