mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Improve diagnostic message for device memory allocation failures.
This commit is contained in:
parent
6b681a4037
commit
5f187d9e68
@ -250,7 +250,7 @@ static HRESULT vkd3d_allocate_device_memory(struct d3d12_device *device,
|
|||||||
|
|
||||||
if (allocate_info.memoryTypeIndex == ~0u)
|
if (allocate_info.memoryTypeIndex == ~0u)
|
||||||
{
|
{
|
||||||
ERR("Failed to find suitable memory type.\n");
|
FIXME("Failed to find suitable memory type (allowed types %#x).\n", memory_requirements->memoryTypeBits);
|
||||||
*vk_memory = VK_NULL_HANDLE;
|
*vk_memory = VK_NULL_HANDLE;
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user