History

hwcontext_vulkan: fix 85c0364b703

The issue is that by moving the mprops loading later, we inadvertently broke some earlier dependencies.

Lynne committed 1 year ago

Commit 60fc0281 parent 88fee701 file · +3 −0Browse files

Unified · Split

libavutil/hwcontext_vulkan.c+3−0
@@ -1720,6 +1720,9 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx, · 1719 unmodified lines
17201720 goto end;
17211721 }
17221722
1723+ /* Get supported memory types */
1724+ vk->GetPhysicalDeviceMemoryProperties(hwctx->phys_dev, &p->mprops);
1725+
17231726 /* Get all supported features for the physical device */
17241727 device_features_init(ctx, &supported_feats);
17251728 vk->GetPhysicalDeviceFeatures2(hwctx->phys_dev, &supported_feats.device);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t