libs/vkd3d: Improve diagnostic message for device memory allocation failures.

This commit is contained in:
Józef Kucia 2016-10-17 14:24:22 +02:00
parent 6b681a4037
commit 5f187d9e68

View File

@ -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;
} }