From df51e1a18dd929eb5f6b172c247036dcae9e44d3 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 5 Dec 2023 16:45:19 +0900 Subject: [PATCH] [vulkan] Report the memory type used for resources Needed for verifying the desired heap was used. --- libs/video/renderer/vulkan/resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/video/renderer/vulkan/resource.c b/libs/video/renderer/vulkan/resource.c index a45eca72e..8ba6e8021 100644 --- a/libs/video/renderer/vulkan/resource.c +++ b/libs/video/renderer/vulkan/resource.c @@ -170,6 +170,8 @@ QFV_CreateResource (qfv_device_t *device, qfv_resource_t *resource) if ((req.memoryTypeBits & (1 << type)) && ((memprops->memoryTypes[type].propertyFlags & properties) == properties)) { + Sys_MaskPrintf (SYS_vulkan, "QFV_CreateResource: %s:mti: %d\n", + resource->name, type); VkMemoryAllocateInfo allocate_info = { .sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO, .allocationSize = size,