Commit fb65de04 authored by Georg Lehmann's avatar Georg Lehmann Committed by Alexandre Julliard

winevulkan: Update to VK spec version 1.2.191.

parent b8578a8b
......@@ -1928,6 +1928,11 @@ VkResult WINAPI vkSetDebugUtilsObjectTagEXT(VkDevice device, const VkDebugUtilsO
return unix_funcs->p_vkSetDebugUtilsObjectTagEXT(device, pTagInfo);
}
void WINAPI vkSetDeviceMemoryPriorityEXT(VkDevice device, VkDeviceMemory memory, float priority)
{
unix_funcs->p_vkSetDeviceMemoryPriorityEXT(device, memory, priority);
}
VkResult WINAPI vkSetEvent(VkDevice device, VkEvent event)
{
return unix_funcs->p_vkSetEvent(device, event);
......@@ -2344,6 +2349,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkResetQueryPoolEXT", &vkResetQueryPoolEXT},
{"vkSetDebugUtilsObjectNameEXT", &vkSetDebugUtilsObjectNameEXT},
{"vkSetDebugUtilsObjectTagEXT", &vkSetDebugUtilsObjectTagEXT},
{"vkSetDeviceMemoryPriorityEXT", &vkSetDeviceMemoryPriorityEXT},
{"vkSetEvent", &vkSetEvent},
{"vkSetPrivateDataEXT", &vkSetPrivateDataEXT},
{"vkSignalSemaphore", &vkSignalSemaphore},
......
......@@ -402,6 +402,7 @@ struct unix_funcs
void (WINAPI *p_vkResetQueryPoolEXT)(VkDevice, VkQueryPool, uint32_t, uint32_t);
VkResult (WINAPI *p_vkSetDebugUtilsObjectNameEXT)(VkDevice, const VkDebugUtilsObjectNameInfoEXT *);
VkResult (WINAPI *p_vkSetDebugUtilsObjectTagEXT)(VkDevice, const VkDebugUtilsObjectTagInfoEXT *);
void (WINAPI *p_vkSetDeviceMemoryPriorityEXT)(VkDevice, VkDeviceMemory, float);
VkResult (WINAPI *p_vkSetEvent)(VkDevice, VkEvent);
VkResult (WINAPI *p_vkSetPrivateDataEXT)(VkDevice, VkObjectType, uint64_t, VkPrivateDataSlotEXT, uint64_t);
VkResult (WINAPI *p_vkSignalSemaphore)(VkDevice, const VkSemaphoreSignalInfo *);
......
......@@ -64,7 +64,7 @@ from enum import Enum
LOGGER = logging.Logger("vulkan")
LOGGER.addHandler(logging.StreamHandler())
VK_XML_VERSION = "1.2.190"
VK_XML_VERSION = "1.2.191"
WINE_VK_VERSION = (1, 2)
# Filenames to create.
......
......@@ -3564,6 +3564,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT:
{
const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT *in = (const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT *)in_header;
VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT *out;
if (!(out = malloc(sizeof(*out)))) goto out_of_memory;
out->sType = in->sType;
out->pNext = NULL;
out->pageableDeviceLocalMemory = in->pageableDeviceLocalMemory;
out_header->pNext = (VkBaseOutStructure *)out;
out_header = out_header->pNext;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES:
{
const VkPhysicalDeviceBufferDeviceAddressFeatures *in = (const VkPhysicalDeviceBufferDeviceAddressFeatures *)in_header;
......@@ -7924,6 +7940,12 @@ static VkResult WINAPI wine_vkSetDebugUtilsObjectTagEXT(VkDevice device, const V
#endif
}
static void WINAPI wine_vkSetDeviceMemoryPriorityEXT(VkDevice device, VkDeviceMemory memory, float priority)
{
TRACE("%p, 0x%s, %f\n", device, wine_dbgstr_longlong(memory), priority);
device->funcs.p_vkSetDeviceMemoryPriorityEXT(device->device, memory, priority);
}
static VkResult WINAPI wine_vkSetEvent(VkDevice device, VkEvent event)
{
TRACE("%p, 0x%s\n", device, wine_dbgstr_longlong(event));
......@@ -8130,6 +8152,7 @@ static const char * const vk_device_extensions[] =
"VK_EXT_memory_budget",
"VK_EXT_memory_priority",
"VK_EXT_multi_draw",
"VK_EXT_pageable_device_local_memory",
"VK_EXT_pci_bus_info",
"VK_EXT_pipeline_creation_cache_control",
"VK_EXT_post_depth_coverage",
......@@ -8737,6 +8760,7 @@ const struct unix_funcs loader_funcs =
&wine_vkResetQueryPoolEXT,
&wine_vkSetDebugUtilsObjectNameEXT,
&wine_vkSetDebugUtilsObjectTagEXT,
&wine_vkSetDeviceMemoryPriorityEXT,
&wine_vkSetEvent,
&wine_vkSetPrivateDataEXT,
&wine_vkSignalSemaphore,
......
......@@ -2052,6 +2052,7 @@ struct vulkan_device_funcs
void (*p_vkResetQueryPoolEXT)(VkDevice, VkQueryPool, uint32_t, uint32_t);
VkResult (*p_vkSetDebugUtilsObjectNameEXT)(VkDevice, const VkDebugUtilsObjectNameInfoEXT_host *);
VkResult (*p_vkSetDebugUtilsObjectTagEXT)(VkDevice, const VkDebugUtilsObjectTagInfoEXT_host *);
void (*p_vkSetDeviceMemoryPriorityEXT)(VkDevice, VkDeviceMemory, float);
VkResult (*p_vkSetEvent)(VkDevice, VkEvent);
VkResult (*p_vkSetPrivateDataEXT)(VkDevice, VkObjectType, uint64_t, VkPrivateDataSlotEXT, uint64_t);
VkResult (*p_vkSignalSemaphore)(VkDevice, const VkSemaphoreSignalInfo_host *);
......@@ -2457,6 +2458,7 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkResetQueryPoolEXT) \
USE_VK_FUNC(vkSetDebugUtilsObjectNameEXT) \
USE_VK_FUNC(vkSetDebugUtilsObjectTagEXT) \
USE_VK_FUNC(vkSetDeviceMemoryPriorityEXT) \
USE_VK_FUNC(vkSetEvent) \
USE_VK_FUNC(vkSetPrivateDataEXT) \
USE_VK_FUNC(vkSignalSemaphore) \
......
......@@ -2,6 +2,6 @@
"file_format_version": "1.0.0",
"ICD": {
"library_path": ".\\winevulkan.dll",
"api_version": "1.2.190"
"api_version": "1.2.191"
}
}
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