On Tue, 9 Mar 2021 at 10:26, Jan Sikorski jsikorski@codeweavers.com wrote:
- vr = VK_CALL(vkAllocateMemory(device_vk->vk_device, &allocate_info, NULL, &device_memory));
- if (vr != VK_SUCCESS)
- {
ERR("Failed to allocate memory, vr %#x.\n", vr);
return vr;
- }
wined3d_context_vk_allocate_memory(). More broadly, we may want to introduce a helper for creating Vulkan images, analogous to wined3d_context_vk_create_bo().