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:
parent
88fee7046a
commit
60fc0288ae
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue