[FFmpeg-cvslog] hwcontext_vulkan: don't enable deprecated VK_KHR_sampler_ycbcr_conversion extension

Lynne git at videolan.org
Fri Aug 16 02:22:32 EEST 2024


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Aug 14 15:52:13 2024 +0200| [c3cbaf39bb30bfaf5849def2020bdb6c3b2d5bc6] | committer: Lynne

hwcontext_vulkan: don't enable deprecated VK_KHR_sampler_ycbcr_conversion extension

It was added to Vulkan 1.1 a long time ago.
Validation layer will warn if this is enabled.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c3cbaf39bb30bfaf5849def2020bdb6c3b2d5bc6
---

 libavutil/hwcontext_vulkan.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index d45a0d399d..d5d0c166d1 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -416,7 +416,6 @@ 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                },
     { VK_EXT_DESCRIPTOR_BUFFER_EXTENSION_NAME,                FF_VK_EXT_DESCRIPTOR_BUFFER,     },
     { VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME,              FF_VK_EXT_DEVICE_DRM             },
     { VK_EXT_SHADER_ATOMIC_FLOAT_EXTENSION_NAME,              FF_VK_EXT_ATOMIC_FLOAT           },



More information about the ffmpeg-cvslog mailing list