From: Eric Engestrom Date: Wed, 27 Feb 2019 10:40:52 +0000 (+0000) Subject: anv: drop unused parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b704fd2fdf38d4ba50d40e6d95f991ddfd66186;p=mesa.git anv: drop unused parameter I'm guessing a previous version of this script used an index-based map of entrypoints, but that's not the case anymore. Signed-off-by: Eric Engestrom Reviewed-by: Lionel Landwerlin --- diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py index 6f6053915d8..1c38a19170c 100644 --- a/src/intel/vulkan/anv_entrypoints_gen.py +++ b/src/intel/vulkan/anv_entrypoints_gen.py @@ -526,7 +526,7 @@ class EntrypointAlias(EntrypointBase): def prefixed_name(self, prefix): return self.alias.prefixed_name(prefix) -def get_entrypoints(doc, entrypoints_to_defines, start_index): +def get_entrypoints(doc, entrypoints_to_defines): """Extract the entry points from the registry.""" entrypoints = OrderedDict() @@ -611,8 +611,7 @@ def main(): for filename in args.xml_files: doc = et.parse(filename) - entrypoints += get_entrypoints(doc, get_entrypoints_defines(doc), - start_index=len(entrypoints)) + entrypoints += get_entrypoints(doc, get_entrypoints_defines(doc)) # Manually add CreateDmaBufImageINTEL for which we don't have an extension # defined.