summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-02-27 10:40:52 +0000
committerEric Engestrom <[email protected]>2019-03-01 11:20:28 +0000
commit7b704fd2fdf38d4ba50d40e6d95f991ddfd66186 (patch)
treee4cfdfe6e828634d0ec70b3dedb19be3d3b087c6 /src/intel/vulkan
parentb503d4e4583b989e5e2f1bdfca10e4af6d9a2e6c (diff)
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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_entrypoints_gen.py5
1 files changed, 2 insertions, 3 deletions
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.