Commit 9b54cb9b authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winevulkan: Change blacklist to a more neutral word.

parent d0a24609
......@@ -84,7 +84,7 @@ WINE_VULKAN_THUNKS_H = "vulkan_thunks.h"
EXT_BASE = 1000000000
EXT_BLOCK_SIZE = 1000
BLACKLISTED_EXTENSIONS = [
UNSUPPORTED_EXTENSIONS = [
# Instance extensions
"VK_EXT_debug_report",
# Handling of VK_EXT_debug_report requires some consideration. The win32
......@@ -2607,7 +2607,7 @@ class VkRegistry(object):
def _is_extension_supported(self, extension):
# We disable some extensions as either we haven't implemented
# support yet or because they are for platforms other than win32.
return extension not in BLACKLISTED_EXTENSIONS
return extension not in UNSUPPORTED_EXTENSIONS
def _mark_command_required(self, command):
""" Helper function to mark a certain command and the datatypes it needs as required."""
......@@ -2847,13 +2847,12 @@ class VkRegistry(object):
return
if not self._is_extension_supported(ext_name):
LOGGER.debug("Skipping blacklisted extension: {0}".format(ext_name))
LOGGER.debug("Skipping unsupported extension: {0}".format(ext_name))
return
elif "requires" in ext.attrib:
# Check if this extension builds on top of another blacklisted
# extension.
# Check if this extension builds on top of another unsupported extension.
requires = ext.attrib["requires"].split(",")
if len(set(requires).intersection(BLACKLISTED_EXTENSIONS)) > 0:
if len(set(requires).intersection(UNSUPPORTED_EXTENSIONS)) > 0:
return
LOGGER.debug("Loading extension: {0}".format(ext_name))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment