aux/vk: debug print preferred/required dedicated allocation

This commit is contained in:
Christoph Haag 2021-08-31 02:09:11 +02:00 committed by Christoph Haag
parent 7dcd420df8
commit e7d047f956

View file

@ -219,7 +219,9 @@ create_image(struct vk_bundle *vk, const struct xrt_swapchain_create_info *info,
vk->vkGetImageMemoryRequirements2(vk->device, &memory_requirements_info, &memory_requirements);
VkBool32 use_dedicated_allocation = memory_dedicated_requirements.requiresDedicatedAllocation != VK_FALSE;
U_LOG_D("create_image: Use dedicated allocation: %d", use_dedicated_allocation);
U_LOG_D("create_image: Use dedicated allocation: %d (preferred: %d, required: %d)", use_dedicated_allocation,
memory_dedicated_requirements.prefersDedicatedAllocation,
memory_dedicated_requirements.requiresDedicatedAllocation);
/*
* Create and bind the memory.