mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
winevulkan: Add basic support for extension dependencies.
This commit is contained in:
parent
8fc724927a
commit
421140b624
|
@ -3533,6 +3533,11 @@ class VkRegistry(object):
|
|||
if len(set(requires).intersection(skipped_exts)) > 0:
|
||||
skipped_exts.append(ext_name)
|
||||
return
|
||||
elif "depends" in ext.attrib:
|
||||
# The syntax for this is more complex, but this is good enough for now.
|
||||
if any([sext in ext.attrib["depends"] for sext in skipped_exts]):
|
||||
skipped_exts.append(ext_name)
|
||||
return
|
||||
|
||||
LOGGER.debug("Loading extension: {0}".format(ext_name))
|
||||
|
||||
|
|
Loading…
Reference in a new issue