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