Browse Source

testffmpeg_vulkan: enable the VK_KHR_video_maintenance1 extension

This is used by ffmpeg, so we'll enable it if it's available
Sam Lantinga 2 tháng trước cách đây
mục cha
commit
9149eca207
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      test/testffmpeg_vulkan.c

+ 2 - 1
test/testffmpeg_vulkan.c

@@ -556,7 +556,8 @@ static int createDevice(VulkanVideoContext *context)
         VK_KHR_VIDEO_DECODE_QUEUE_EXTENSION_NAME,
         VK_KHR_VIDEO_DECODE_H264_EXTENSION_NAME,
         VK_KHR_VIDEO_DECODE_H265_EXTENSION_NAME,
-        VK_KHR_VIDEO_DECODE_AV1_EXTENSION_NAME
+        VK_KHR_VIDEO_DECODE_AV1_EXTENSION_NAME,
+        VK_KHR_VIDEO_MAINTENANCE_1_EXTENSION_NAME
     };
     VkDeviceCreateInfo deviceCreateInfo;
     VkDeviceQueueCreateInfo *queueCreateInfos = NULL;