1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

hwcontext_vulkan: fix 85c0364b70

The issue is that by moving the mprops loading later, we inadvertently
broke some earlier dependencies.
This commit is contained in:
Lynne
2025-06-24 16:41:48 +09:00
parent 88fee7046a
commit 60fc0288ae

View File

@ -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);