The issue is that by moving the mprops loading later, we inadvertently broke some earlier dependencies.
Unified · Split
| @@ -1720,6 +1720,9 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx, · 1719 unmodified lines | ||
| 1720 | 1720 | goto end; |
| 1721 | 1721 | } |
| 1722 | 1722 | |
| 1723 | + /* Get supported memory types */ | |
| 1724 | + vk->GetPhysicalDeviceMemoryProperties(hwctx->phys_dev, &p->mprops); | |
| 1725 | + | |
| 1723 | 1726 | /* Get all supported features for the physical device */ |
| 1724 | 1727 | device_features_init(ctx, &supported_feats); |
| 1725 | 1728 | vk->GetPhysicalDeviceFeatures2(hwctx->phys_dev, &supported_feats.device); |