mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
winevulkan: Only parse extensions for Vulkan.
242 adds VulkanSC only extensions
This commit is contained in:
parent
53c7ccec44
commit
e500ca7648
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue