diff options
author | Eric Engestrom <[email protected]> | 2019-02-27 10:40:52 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-03-01 11:20:28 +0000 |
commit | 7b704fd2fdf38d4ba50d40e6d95f991ddfd66186 (patch) | |
tree | e4cfdfe6e828634d0ec70b3dedb19be3d3b087c6 /src/intel/vulkan | |
parent | b503d4e4583b989e5e2f1bdfca10e4af6d9a2e6c (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.py | 5 |
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. |