1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winevulkan: Drop the WINEVULKAN_QUIRK_IGNORE_EXPLICIT_LAYERS quirk.

It's not set anywhere.
This commit is contained in:
Rémi Bernon 2023-11-24 17:49:12 +01:00 committed by Alexandre Julliard
parent bfb5064f50
commit ac84b8f0b4
2 changed files with 2 additions and 6 deletions

View file

@ -526,11 +526,8 @@ static VkResult wine_vk_instance_convert_create_info(struct conversion_context *
/* ICDs don't support any layers, so nothing to copy. Modern versions of the loader
* filter this data out as well.
*/
if (object->quirks & WINEVULKAN_QUIRK_IGNORE_EXPLICIT_LAYERS) {
dst->enabledLayerCount = 0;
dst->ppEnabledLayerNames = NULL;
WARN("Ignoring explicit layers!\n");
} else if (dst->enabledLayerCount) {
if (dst->enabledLayerCount)
{
FIXME("Loading explicit layers is not supported by winevulkan!\n");
return VK_ERROR_LAYER_NOT_PRESENT;
}

View file

@ -40,7 +40,6 @@
#define WINEVULKAN_QUIRK_GET_DEVICE_PROC_ADDR 0x00000001
#define WINEVULKAN_QUIRK_ADJUST_MAX_IMAGE_COUNT 0x00000002
#define WINEVULKAN_QUIRK_IGNORE_EXPLICIT_LAYERS 0x00000004
/* Base 'class' for our Vulkan dispatchable objects such as VkDevice and VkInstance.
* This structure MUST be the first element of a dispatchable object as the ICD