mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:21:15 +00:00
winevulkan: Skip features that are not part of Vulkan.
This commit is contained in:
parent
e500ca7648
commit
8fc724927a
|
@ -3584,6 +3584,8 @@ class VkRegistry(object):
|
|||
""" Parse the feature section, which describes Core commands and types needed. """
|
||||
|
||||
for feature in root.findall("./feature"):
|
||||
if not api_is_vulkan(feature):
|
||||
continue
|
||||
feature_name = feature.attrib["name"]
|
||||
for require in feature.findall("require"):
|
||||
LOGGER.info("Including features for {0}".format(require.attrib.get("comment")))
|
||||
|
|
Loading…
Reference in a new issue