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.
This commit is contained in:
Giovanni Mascellani 2024-10-17 22:41:03 +02:00 committed by Henri Verbeet
parent ed4d45355a
commit 3bf114f3c3
Notes: Henri Verbeet 2024-10-21 18:42:52 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1202

View File

@ -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;