From 60fc0288ae39c3294091c2a4e06816836be95740 Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 24 Jun 2025 16:41:48 +0900 Subject: [PATCH] hwcontext_vulkan: fix 85c0364b703 The issue is that by moving the mprops loading later, we inadvertently broke some earlier dependencies. --- libavutil/hwcontext_vulkan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index c8c6eed0fd..547fbe184f 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -1720,6 +1720,9 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx, goto end; } + /* Get supported memory types */ + vk->GetPhysicalDeviceMemoryProperties(hwctx->phys_dev, &p->mprops); + /* Get all supported features for the physical device */ device_features_init(ctx, &supported_feats); vk->GetPhysicalDeviceFeatures2(hwctx->phys_dev, &supported_feats.device);