From 3bf114f3c31b5f655db9bc76b8dc7f9a41d3a250 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Thu, 17 Oct 2024 22:41:03 +0200 Subject: [PATCH] vkd3d/device: Trace which descriptor heap implementation is being used. The descriptor heap implementation is a rather central behavior element in vkd3d, so it's useful to have all the relevant information logged in a single place. --- libs/vkd3d/device.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/vkd3d/device.c b/libs/vkd3d/device.c index 12f45196..70a50df2 100644 --- a/libs/vkd3d/device.c +++ b/libs/vkd3d/device.c @@ -1925,6 +1925,13 @@ static HRESULT vkd3d_init_device_caps(struct d3d12_device *device, vkd3d_device_descriptor_limits_init(&vulkan_info->descriptor_limits, &physical_device_info->properties2.properties.limits); + TRACE("Device %p: using %s descriptor heaps, with%s descriptor indexing, " + "with%s push descriptors, with%s mutable descriptors\n", + device, device->use_vk_heaps ? "Vulkan" : "virtual", + device->vk_info.EXT_descriptor_indexing ? "" : "out", + device->vk_info.KHR_push_descriptor ? "" : "out", + device->vk_info.EXT_mutable_descriptor_type ? "" : "out"); + vkd3d_chain_physical_device_info_structures(physical_device_info, device); return S_OK;