Commit 8538c65284 for ffmpeg

commit 8538c65284488a4d6fb16e1a2f1624269b98e7bc
Author: Lynne <dev@lynne.ee>
Date:   Sun Dec 6 15:01:18 2026 +0800

    avutil/hwcontext_vulkan: fix build with Vulkan-Headers 1.4.370

    VK_KHR_portability_subset was marked as permanently disabled in the
    registry, so the headers no longer define its extension name. Devices
    from existing portability implementations still expose it, and older
    loaders and validation layers expect it to be enabled when exposed.

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index fff8c7530f..5c2bb410c9 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -763,7 +763,9 @@ static const VulkanOptExtension optional_instance_exts[] = {

 static const VulkanOptExtension optional_device_exts[] = {
     /* Misc or required by other extensions */
-    { VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME,               FF_VK_EXT_PORTABILITY_SUBSET     },
+    /* Disabled in the registry and dropped from the headers, but existing
+     * portability implementations still expose it and require it enabled */
+    { "VK_KHR_portability_subset",                            FF_VK_EXT_PORTABILITY_SUBSET     },
     { VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME,                  FF_VK_EXT_PUSH_DESCRIPTOR        },
     { VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME,              FF_VK_EXT_DEVICE_DRM             },
     { VK_EXT_SHADER_ATOMIC_FLOAT_EXTENSION_NAME,              FF_VK_EXT_ATOMIC_FLOAT           },