From 5f187d9e6889456d6c506248c3b832cacfa436ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Mon, 17 Oct 2016 14:24:22 +0200 Subject: [PATCH] libs/vkd3d: Improve diagnostic message for device memory allocation failures. --- libs/vkd3d/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c index 18b0ae17..f9a9fffc 100644 --- a/libs/vkd3d/resource.c +++ b/libs/vkd3d/resource.c @@ -250,7 +250,7 @@ static HRESULT vkd3d_allocate_device_memory(struct d3d12_device *device, 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; return E_FAIL; }