Commit 53916000 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Trace the available Vulkan extensions.

Like we do for OpenGL. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 8f0349f2
...@@ -1853,6 +1853,12 @@ static BOOL enable_vulkan_instance_extensions(uint32_t *extension_count, ...@@ -1853,6 +1853,12 @@ static BOOL enable_vulkan_instance_extensions(uint32_t *extension_count,
goto done; goto done;
} }
TRACE("Vulkan instance extensions reported:\n");
for (i = 0; i < count; ++i)
{
TRACE(" - %s.\n", debugstr_a(extensions[i].extensionName));
}
for (i = 0; i < ARRAY_SIZE(vulkan_instance_extensions); ++i) for (i = 0; i < ARRAY_SIZE(vulkan_instance_extensions); ++i)
{ {
if (vulkan_instance_extensions[i].core_since_version <= vk_info->api_version) if (vulkan_instance_extensions[i].core_since_version <= vk_info->api_version)
...@@ -2207,6 +2213,12 @@ static bool wined3d_adapter_vk_init_device_extensions(struct wined3d_adapter_vk ...@@ -2207,6 +2213,12 @@ static bool wined3d_adapter_vk_init_device_extensions(struct wined3d_adapter_vk
goto done; goto done;
} }
TRACE("Vulkan device extensions reported:\n");
for (i = 0; i < count; ++i)
{
TRACE(" - %s.\n", debugstr_a(extensions[i].extensionName));
}
for (i = 0, enable_count = 0; i < ARRAY_SIZE(info); ++i) for (i = 0, enable_count = 0; i < ARRAY_SIZE(info); ++i)
{ {
if (info[i].core_since_version <= vk_info->api_version) if (info[i].core_since_version <= vk_info->api_version)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment