hwcontext_vulkan: use portability subset if available

pull/389/head
Lynne 2 years ago
parent 74b202b839
commit 2a1fd2814f
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
  1. 4
      libavutil/hwcontext_vulkan.c

@ -340,11 +340,13 @@ typedef struct VulkanOptExtension {
} VulkanOptExtension;
static const VulkanOptExtension optional_instance_exts[] = {
/* For future use */
/* Pointless, here avoid zero-sized structs */
{ VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
};
static const VulkanOptExtension optional_device_exts[] = {
/* Misc or required by other extensions */
{ VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
{ VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
{ VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },

Loading…
Cancel
Save