def get_template_arguments(self, spec, feature_set, config): args = JinjaGenerator.get_template_arguments(self, spec, feature_set, config) args.update( version=glad.__version__, aliases=collect_alias_information(feature_set.commands) ) return args
def get_template_arguments(self, spec, feature_set, config): args = JinjaGenerator.get_template_arguments(self, spec, feature_set, config) # TODO allow MX for every specification/api if spec.name not in (VK.NAME, GL.NAME): args['options']['mx'] = False args['options']['mx_global'] = False args.update( aliases=collect_alias_information(feature_set.commands), # required for vulkan loader: device_commands=list(filter(is_device_command, feature_set.commands)) ) return args