winevulkan: Only parse extensions for Vulkan.

242 adds VulkanSC only extensions
This commit is contained in:
Georg Lehmann 2023-03-03 20:53:07 +01:00 committed by Alexandre Julliard
parent 53c7ccec44
commit e500ca7648

View file

@ -3490,8 +3490,9 @@ class VkRegistry(object):
if cmd_name in self.funcs:
self.funcs[cmd_name].extensions.add(ext_name)
# Some extensions are not ready or have numbers reserved as a place holder.
if ext.attrib["supported"] == "disabled":
# Some extensions are not ready or have numbers reserved as a place holder
# or are only supported for VulkanSC.
if not "vulkan" in ext.attrib["supported"].split(","):
LOGGER.debug("Skipping disabled extension: {0}".format(ext_name))
skipped_exts.append(ext_name)
return