mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
aux/vk: debug print preferred/required dedicated allocation
This commit is contained in:
parent
7dcd420df8
commit
e7d047f956
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue