winevulkan: Avoid FIXMEs for unsupported Vulkan functions.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-07-17 10:40:18 +02:00 committed by Alexandre Julliard
parent 898f4b6c6a
commit a77416c47a
1 changed files with 5 additions and 5 deletions

View File

@ -935,7 +935,7 @@ PFN_vkVoidFunction WINAPI wine_vkGetDeviceProcAddr(VkDevice device, const char *
return func; return func;
} }
TRACE("Function %s not found.\n", debugstr_a(name)); WARN("Unsupported device function: %s.\n", debugstr_a(name));
return NULL; return NULL;
} }
@ -970,7 +970,7 @@ PFN_vkVoidFunction WINAPI wine_vkGetInstanceProcAddr(VkInstance instance, const
{ {
void *func; void *func;
TRACE("%p %s\n", instance, debugstr_a(name)); TRACE("%p, %s\n", instance, debugstr_a(name));
if (!name) if (!name)
return NULL; return NULL;
@ -985,7 +985,7 @@ PFN_vkVoidFunction WINAPI wine_vkGetInstanceProcAddr(VkInstance instance, const
} }
if (!instance) if (!instance)
{ {
FIXME("Global function %s not found.\n", debugstr_a(name)); WARN("Global function %s not found.\n", debugstr_a(name));
return NULL; return NULL;
} }
@ -996,13 +996,13 @@ PFN_vkVoidFunction WINAPI wine_vkGetInstanceProcAddr(VkInstance instance, const
func = wine_vk_get_device_proc_addr(name); func = wine_vk_get_device_proc_addr(name);
if (func) return func; if (func) return func;
FIXME("Unsupported device or instance function: %s.\n", debugstr_a(name)); WARN("Unsupported device or instance function: %s.\n", debugstr_a(name));
return NULL; return NULL;
} }
void * WINAPI wine_vk_icdGetInstanceProcAddr(VkInstance instance, const char *name) void * WINAPI wine_vk_icdGetInstanceProcAddr(VkInstance instance, const char *name)
{ {
TRACE("%p %s\n", instance, debugstr_a(name)); TRACE("%p, %s\n", instance, debugstr_a(name));
/* Initial version of the Vulkan ICD spec required vkGetInstanceProcAddr to be /* Initial version of the Vulkan ICD spec required vkGetInstanceProcAddr to be
* exported. vk_icdGetInstanceProcAddr was added later to separate ICD calls from * exported. vk_icdGetInstanceProcAddr was added later to separate ICD calls from