winevulkan: Update to VK spec version 1.1.130.
Also update a single define reference in wined3d since VK_EXT_device_address was promoted to KHR and renamed VK_ERROR_INVALID_DEVICE_ADDRESS_EXT to VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR. Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com> Signed-off-by: Piers Daniell <pdaniell@nvidia.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9058f5e08b
commit
1fa427f2d0
|
@ -5313,7 +5313,7 @@ const char *wined3d_debug_vkresult(VkResult vr)
|
|||
switch (vr)
|
||||
{
|
||||
#define WINED3D_TO_STR(x) case x: return #x
|
||||
WINED3D_TO_STR(VK_ERROR_INVALID_DEVICE_ADDRESS_EXT);
|
||||
WINED3D_TO_STR(VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR);
|
||||
WINED3D_TO_STR(VK_ERROR_NOT_PERMITTED_EXT);
|
||||
WINED3D_TO_STR(VK_ERROR_FRAGMENTATION_EXT);
|
||||
WINED3D_TO_STR(VK_ERROR_INVALID_EXTERNAL_HANDLE);
|
||||
|
|
|
@ -64,7 +64,7 @@ from enum import Enum
|
|||
LOGGER = logging.Logger("vulkan")
|
||||
LOGGER.addHandler(logging.StreamHandler())
|
||||
|
||||
VK_XML_VERSION = "1.1.126"
|
||||
VK_XML_VERSION = "1.1.130"
|
||||
WINE_VK_VERSION = (1, 1)
|
||||
|
||||
# Filenames to create.
|
||||
|
|
|
@ -56,6 +56,16 @@ static inline void convert_VkAcquireNextImageInfoKHR_win_to_host(const VkAcquire
|
|||
out->deviceMask = in->deviceMask;
|
||||
}
|
||||
|
||||
static inline void convert_VkAcquireProfilingLockInfoKHR_win_to_host(const VkAcquireProfilingLockInfoKHR *in, VkAcquireProfilingLockInfoKHR_host *out)
|
||||
{
|
||||
if (!in) return;
|
||||
|
||||
out->sType = in->sType;
|
||||
out->pNext = in->pNext;
|
||||
out->flags = in->flags;
|
||||
out->timeout = in->timeout;
|
||||
}
|
||||
|
||||
static inline void convert_VkDescriptorSetAllocateInfo_win_to_host(const VkDescriptorSetAllocateInfo *in, VkDescriptorSetAllocateInfo_host *out)
|
||||
{
|
||||
if (!in) return;
|
||||
|
@ -864,7 +874,7 @@ static inline void convert_VkMemoryRequirements2KHR_host_to_win(const VkMemoryRe
|
|||
convert_VkMemoryRequirements_host_to_win(&in->memoryRequirements, &out->memoryRequirements);
|
||||
}
|
||||
|
||||
static inline void convert_VkBufferDeviceAddressInfoEXT_win_to_host(const VkBufferDeviceAddressInfoEXT *in, VkBufferDeviceAddressInfoEXT_host *out)
|
||||
static inline void convert_VkBufferDeviceAddressInfoKHR_win_to_host(const VkBufferDeviceAddressInfoKHR *in, VkBufferDeviceAddressInfoKHR_host *out)
|
||||
{
|
||||
if (!in) return;
|
||||
|
||||
|
@ -899,6 +909,15 @@ static inline void convert_VkMemoryRequirements2_host_to_win(const VkMemoryRequi
|
|||
convert_VkMemoryRequirements_host_to_win(&in->memoryRequirements, &out->memoryRequirements);
|
||||
}
|
||||
|
||||
static inline void convert_VkDeviceMemoryOpaqueCaptureAddressInfoKHR_win_to_host(const VkDeviceMemoryOpaqueCaptureAddressInfoKHR *in, VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host *out)
|
||||
{
|
||||
if (!in) return;
|
||||
|
||||
out->sType = in->sType;
|
||||
out->pNext = in->pNext;
|
||||
out->memory = in->memory;
|
||||
}
|
||||
|
||||
static inline void convert_VkImageMemoryRequirementsInfo2_win_to_host(const VkImageMemoryRequirementsInfo2 *in, VkImageMemoryRequirementsInfo2_host *out)
|
||||
{
|
||||
if (!in) return;
|
||||
|
@ -2040,6 +2059,24 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
|
|||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR:
|
||||
{
|
||||
const VkPhysicalDeviceBufferDeviceAddressFeaturesKHR *in = (const VkPhysicalDeviceBufferDeviceAddressFeaturesKHR *)in_header;
|
||||
VkPhysicalDeviceBufferDeviceAddressFeaturesKHR *out;
|
||||
|
||||
if (!(out = heap_alloc(sizeof(*out)))) goto out_of_memory;
|
||||
|
||||
out->sType = in->sType;
|
||||
out->pNext = NULL;
|
||||
out->bufferDeviceAddress = in->bufferDeviceAddress;
|
||||
out->bufferDeviceAddressCaptureReplay = in->bufferDeviceAddressCaptureReplay;
|
||||
out->bufferDeviceAddressMultiDevice = in->bufferDeviceAddressMultiDevice;
|
||||
|
||||
out_header->pNext = (VkBaseOutStructure *)out;
|
||||
out_header = out_header->pNext;
|
||||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT:
|
||||
{
|
||||
const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *in = (const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *)in_header;
|
||||
|
@ -2123,6 +2160,23 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
|
|||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR:
|
||||
{
|
||||
const VkPhysicalDevicePerformanceQueryFeaturesKHR *in = (const VkPhysicalDevicePerformanceQueryFeaturesKHR *)in_header;
|
||||
VkPhysicalDevicePerformanceQueryFeaturesKHR *out;
|
||||
|
||||
if (!(out = heap_alloc(sizeof(*out)))) goto out_of_memory;
|
||||
|
||||
out->sType = in->sType;
|
||||
out->pNext = NULL;
|
||||
out->performanceCounterQueryPools = in->performanceCounterQueryPools;
|
||||
out->performanceCounterMultipleQueryPools = in->performanceCounterMultipleQueryPools;
|
||||
|
||||
out_header->pNext = (VkBaseOutStructure *)out;
|
||||
out_header = out_header->pNext;
|
||||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV:
|
||||
{
|
||||
const VkPhysicalDeviceCoverageReductionModeFeaturesNV *in = (const VkPhysicalDeviceCoverageReductionModeFeaturesNV *)in_header;
|
||||
|
@ -2222,6 +2276,22 @@ VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCrea
|
|||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES_KHR:
|
||||
{
|
||||
const VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR *in = (const VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR *)in_header;
|
||||
VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR *out;
|
||||
|
||||
if (!(out = heap_alloc(sizeof(*out)))) goto out_of_memory;
|
||||
|
||||
out->sType = in->sType;
|
||||
out->pNext = NULL;
|
||||
out->separateDepthStencilLayouts = in->separateDepthStencilLayouts;
|
||||
|
||||
out_header->pNext = (VkBaseOutStructure *)out;
|
||||
out_header = out_header->pNext;
|
||||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR:
|
||||
{
|
||||
const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR *in = (const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR *)in_header;
|
||||
|
@ -2416,6 +2486,23 @@ static VkResult WINAPI wine_vkAcquirePerformanceConfigurationINTEL(VkDevice devi
|
|||
return device->funcs.p_vkAcquirePerformanceConfigurationINTEL(device->device, pAcquireInfo, pConfiguration);
|
||||
}
|
||||
|
||||
static VkResult WINAPI wine_vkAcquireProfilingLockKHR(VkDevice device, const VkAcquireProfilingLockInfoKHR *pInfo)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
VkResult result;
|
||||
VkAcquireProfilingLockInfoKHR_host pInfo_host;
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
|
||||
convert_VkAcquireProfilingLockInfoKHR_win_to_host(pInfo, &pInfo_host);
|
||||
result = device->funcs.p_vkAcquireProfilingLockKHR(device->device, &pInfo_host);
|
||||
|
||||
return result;
|
||||
#else
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
return device->funcs.p_vkAcquireProfilingLockKHR(device->device, pInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
VkResult WINAPI wine_vkAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
|
@ -3671,6 +3758,12 @@ VkResult WINAPI wine_vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalD
|
|||
return physicalDevice->instance->funcs.p_vkEnumerateDeviceLayerProperties(physicalDevice->phys_dev, pPropertyCount, pProperties);
|
||||
}
|
||||
|
||||
static VkResult WINAPI wine_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, uint32_t *pCounterCount, VkPerformanceCounterKHR *pCounters, VkPerformanceCounterDescriptionKHR *pCounterDescriptions)
|
||||
{
|
||||
TRACE("%p, %u, %p, %p, %p\n", physicalDevice, queueFamilyIndex, pCounterCount, pCounters, pCounterDescriptions);
|
||||
return physicalDevice->instance->funcs.p_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR(physicalDevice->phys_dev, queueFamilyIndex, pCounterCount, pCounters, pCounterDescriptions);
|
||||
}
|
||||
|
||||
VkResult WINAPI wine_vkFlushMappedMemoryRanges(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange *pMemoryRanges)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
|
@ -3725,14 +3818,14 @@ static void WINAPI wine_vkGetAccelerationStructureMemoryRequirementsNV(VkDevice
|
|||
#endif
|
||||
}
|
||||
|
||||
static VkDeviceAddress WINAPI wine_vkGetBufferDeviceAddressEXT(VkDevice device, const VkBufferDeviceAddressInfoEXT *pInfo)
|
||||
static VkDeviceAddress WINAPI wine_vkGetBufferDeviceAddressEXT(VkDevice device, const VkBufferDeviceAddressInfoKHR *pInfo)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
VkDeviceAddress result;
|
||||
VkBufferDeviceAddressInfoEXT_host pInfo_host;
|
||||
VkBufferDeviceAddressInfoKHR_host pInfo_host;
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
|
||||
convert_VkBufferDeviceAddressInfoEXT_win_to_host(pInfo, &pInfo_host);
|
||||
convert_VkBufferDeviceAddressInfoKHR_win_to_host(pInfo, &pInfo_host);
|
||||
result = device->funcs.p_vkGetBufferDeviceAddressEXT(device->device, &pInfo_host);
|
||||
|
||||
return result;
|
||||
|
@ -3742,6 +3835,23 @@ static VkDeviceAddress WINAPI wine_vkGetBufferDeviceAddressEXT(VkDevice device,
|
|||
#endif
|
||||
}
|
||||
|
||||
static VkDeviceAddress WINAPI wine_vkGetBufferDeviceAddressKHR(VkDevice device, const VkBufferDeviceAddressInfoKHR *pInfo)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
VkDeviceAddress result;
|
||||
VkBufferDeviceAddressInfoKHR_host pInfo_host;
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
|
||||
convert_VkBufferDeviceAddressInfoKHR_win_to_host(pInfo, &pInfo_host);
|
||||
result = device->funcs.p_vkGetBufferDeviceAddressKHR(device->device, &pInfo_host);
|
||||
|
||||
return result;
|
||||
#else
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
return device->funcs.p_vkGetBufferDeviceAddressKHR(device->device, pInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
void WINAPI wine_vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements *pMemoryRequirements)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
|
@ -3793,6 +3903,23 @@ static void WINAPI wine_vkGetBufferMemoryRequirements2KHR(VkDevice device, const
|
|||
#endif
|
||||
}
|
||||
|
||||
static uint64_t WINAPI wine_vkGetBufferOpaqueCaptureAddressKHR(VkDevice device, const VkBufferDeviceAddressInfoKHR *pInfo)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
uint64_t result;
|
||||
VkBufferDeviceAddressInfoKHR_host pInfo_host;
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
|
||||
convert_VkBufferDeviceAddressInfoKHR_win_to_host(pInfo, &pInfo_host);
|
||||
result = device->funcs.p_vkGetBufferOpaqueCaptureAddressKHR(device->device, &pInfo_host);
|
||||
|
||||
return result;
|
||||
#else
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
return device->funcs.p_vkGetBufferOpaqueCaptureAddressKHR(device->device, pInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
void WINAPI wine_vkGetDescriptorSetLayoutSupport(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, VkDescriptorSetLayoutSupport *pSupport)
|
||||
{
|
||||
TRACE("%p, %p, %p\n", device, pCreateInfo, pSupport);
|
||||
|
@ -3835,6 +3962,23 @@ void WINAPI wine_vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory mem
|
|||
device->funcs.p_vkGetDeviceMemoryCommitment(device->device, memory, pCommittedMemoryInBytes);
|
||||
}
|
||||
|
||||
static uint64_t WINAPI wine_vkGetDeviceMemoryOpaqueCaptureAddressKHR(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfoKHR *pInfo)
|
||||
{
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
uint64_t result;
|
||||
VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host pInfo_host;
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
|
||||
convert_VkDeviceMemoryOpaqueCaptureAddressInfoKHR_win_to_host(pInfo, &pInfo_host);
|
||||
result = device->funcs.p_vkGetDeviceMemoryOpaqueCaptureAddressKHR(device->device, &pInfo_host);
|
||||
|
||||
return result;
|
||||
#else
|
||||
TRACE("%p, %p\n", device, pInfo);
|
||||
return device->funcs.p_vkGetDeviceMemoryOpaqueCaptureAddressKHR(device->device, pInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
VkResult WINAPI wine_vkGetEventStatus(VkDevice device, VkEvent event)
|
||||
{
|
||||
TRACE("%p, 0x%s\n", device, wine_dbgstr_longlong(event));
|
||||
|
@ -4156,6 +4300,12 @@ static void WINAPI wine_vkGetPhysicalDeviceProperties2KHR(VkPhysicalDevice physi
|
|||
#endif
|
||||
}
|
||||
|
||||
static void WINAPI wine_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(VkPhysicalDevice physicalDevice, const VkQueryPoolPerformanceCreateInfoKHR *pPerformanceQueryCreateInfo, uint32_t *pNumPasses)
|
||||
{
|
||||
TRACE("%p, %p, %p\n", physicalDevice, pPerformanceQueryCreateInfo, pNumPasses);
|
||||
physicalDevice->instance->funcs.p_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(physicalDevice->phys_dev, pPerformanceQueryCreateInfo, pNumPasses);
|
||||
}
|
||||
|
||||
void WINAPI wine_vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint32_t *pQueueFamilyPropertyCount, VkQueueFamilyProperties *pQueueFamilyProperties)
|
||||
{
|
||||
TRACE("%p, %p, %p\n", physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
|
||||
|
@ -4222,6 +4372,12 @@ VkResult WINAPI wine_vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physi
|
|||
return physicalDevice->instance->funcs.p_vkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice->phys_dev, queueFamilyIndex, surface, pSupported);
|
||||
}
|
||||
|
||||
static VkResult WINAPI wine_vkGetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevice physicalDevice, uint32_t *pToolCount, VkPhysicalDeviceToolPropertiesEXT *pToolProperties)
|
||||
{
|
||||
TRACE("%p, %p, %p\n", physicalDevice, pToolCount, pToolProperties);
|
||||
return physicalDevice->instance->funcs.p_vkGetPhysicalDeviceToolPropertiesEXT(physicalDevice->phys_dev, pToolCount, pToolProperties);
|
||||
}
|
||||
|
||||
VkBool32 WINAPI wine_vkGetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex)
|
||||
{
|
||||
TRACE("%p, %u\n", physicalDevice, queueFamilyIndex);
|
||||
|
@ -4417,6 +4573,12 @@ static VkResult WINAPI wine_vkReleasePerformanceConfigurationINTEL(VkDevice devi
|
|||
return device->funcs.p_vkReleasePerformanceConfigurationINTEL(device->device, configuration);
|
||||
}
|
||||
|
||||
static void WINAPI wine_vkReleaseProfilingLockKHR(VkDevice device)
|
||||
{
|
||||
TRACE("%p\n", device);
|
||||
device->funcs.p_vkReleaseProfilingLockKHR(device->device);
|
||||
}
|
||||
|
||||
VkResult WINAPI wine_vkResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags)
|
||||
{
|
||||
TRACE("%p, %#x\n", commandBuffer, flags);
|
||||
|
@ -4548,6 +4710,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
|
|||
{"vkAcquireNextImage2KHR", &wine_vkAcquireNextImage2KHR},
|
||||
{"vkAcquireNextImageKHR", &wine_vkAcquireNextImageKHR},
|
||||
{"vkAcquirePerformanceConfigurationINTEL", &wine_vkAcquirePerformanceConfigurationINTEL},
|
||||
{"vkAcquireProfilingLockKHR", &wine_vkAcquireProfilingLockKHR},
|
||||
{"vkAllocateCommandBuffers", &wine_vkAllocateCommandBuffers},
|
||||
{"vkAllocateDescriptorSets", &wine_vkAllocateDescriptorSets},
|
||||
{"vkAllocateMemory", &wine_vkAllocateMemory},
|
||||
|
@ -4708,9 +4871,11 @@ static const struct vulkan_func vk_device_dispatch_table[] =
|
|||
{"vkGetAccelerationStructureHandleNV", &wine_vkGetAccelerationStructureHandleNV},
|
||||
{"vkGetAccelerationStructureMemoryRequirementsNV", &wine_vkGetAccelerationStructureMemoryRequirementsNV},
|
||||
{"vkGetBufferDeviceAddressEXT", &wine_vkGetBufferDeviceAddressEXT},
|
||||
{"vkGetBufferDeviceAddressKHR", &wine_vkGetBufferDeviceAddressKHR},
|
||||
{"vkGetBufferMemoryRequirements", &wine_vkGetBufferMemoryRequirements},
|
||||
{"vkGetBufferMemoryRequirements2", &wine_vkGetBufferMemoryRequirements2},
|
||||
{"vkGetBufferMemoryRequirements2KHR", &wine_vkGetBufferMemoryRequirements2KHR},
|
||||
{"vkGetBufferOpaqueCaptureAddressKHR", &wine_vkGetBufferOpaqueCaptureAddressKHR},
|
||||
{"vkGetDescriptorSetLayoutSupport", &wine_vkGetDescriptorSetLayoutSupport},
|
||||
{"vkGetDescriptorSetLayoutSupportKHR", &wine_vkGetDescriptorSetLayoutSupportKHR},
|
||||
{"vkGetDeviceGroupPeerMemoryFeatures", &wine_vkGetDeviceGroupPeerMemoryFeatures},
|
||||
|
@ -4718,6 +4883,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
|
|||
{"vkGetDeviceGroupPresentCapabilitiesKHR", &wine_vkGetDeviceGroupPresentCapabilitiesKHR},
|
||||
{"vkGetDeviceGroupSurfacePresentModesKHR", &wine_vkGetDeviceGroupSurfacePresentModesKHR},
|
||||
{"vkGetDeviceMemoryCommitment", &wine_vkGetDeviceMemoryCommitment},
|
||||
{"vkGetDeviceMemoryOpaqueCaptureAddressKHR", &wine_vkGetDeviceMemoryOpaqueCaptureAddressKHR},
|
||||
{"vkGetDeviceProcAddr", &wine_vkGetDeviceProcAddr},
|
||||
{"vkGetDeviceQueue", &wine_vkGetDeviceQueue},
|
||||
{"vkGetDeviceQueue2", &wine_vkGetDeviceQueue2},
|
||||
|
@ -4755,6 +4921,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
|
|||
{"vkQueueSubmit", &wine_vkQueueSubmit},
|
||||
{"vkQueueWaitIdle", &wine_vkQueueWaitIdle},
|
||||
{"vkReleasePerformanceConfigurationINTEL", &wine_vkReleasePerformanceConfigurationINTEL},
|
||||
{"vkReleaseProfilingLockKHR", &wine_vkReleaseProfilingLockKHR},
|
||||
{"vkResetCommandBuffer", &wine_vkResetCommandBuffer},
|
||||
{"vkResetCommandPool", &wine_vkResetCommandPool},
|
||||
{"vkResetDescriptorPool", &wine_vkResetDescriptorPool},
|
||||
|
@ -4785,6 +4952,7 @@ static const struct vulkan_func vk_instance_dispatch_table[] =
|
|||
{"vkEnumerateDeviceLayerProperties", &wine_vkEnumerateDeviceLayerProperties},
|
||||
{"vkEnumeratePhysicalDeviceGroups", &wine_vkEnumeratePhysicalDeviceGroups},
|
||||
{"vkEnumeratePhysicalDeviceGroupsKHR", &wine_vkEnumeratePhysicalDeviceGroupsKHR},
|
||||
{"vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR", &wine_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR},
|
||||
{"vkEnumeratePhysicalDevices", &wine_vkEnumeratePhysicalDevices},
|
||||
{"vkGetPhysicalDeviceCooperativeMatrixPropertiesNV", &wine_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV},
|
||||
{"vkGetPhysicalDeviceExternalBufferProperties", &wine_vkGetPhysicalDeviceExternalBufferProperties},
|
||||
|
@ -4810,6 +4978,7 @@ static const struct vulkan_func vk_instance_dispatch_table[] =
|
|||
{"vkGetPhysicalDeviceProperties", &wine_vkGetPhysicalDeviceProperties},
|
||||
{"vkGetPhysicalDeviceProperties2", &wine_vkGetPhysicalDeviceProperties2},
|
||||
{"vkGetPhysicalDeviceProperties2KHR", &wine_vkGetPhysicalDeviceProperties2KHR},
|
||||
{"vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR", &wine_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR},
|
||||
{"vkGetPhysicalDeviceQueueFamilyProperties", &wine_vkGetPhysicalDeviceQueueFamilyProperties},
|
||||
{"vkGetPhysicalDeviceQueueFamilyProperties2", &wine_vkGetPhysicalDeviceQueueFamilyProperties2},
|
||||
{"vkGetPhysicalDeviceQueueFamilyProperties2KHR", &wine_vkGetPhysicalDeviceQueueFamilyProperties2KHR},
|
||||
|
@ -4821,6 +4990,7 @@ static const struct vulkan_func vk_instance_dispatch_table[] =
|
|||
{"vkGetPhysicalDeviceSurfaceFormatsKHR", &wine_vkGetPhysicalDeviceSurfaceFormatsKHR},
|
||||
{"vkGetPhysicalDeviceSurfacePresentModesKHR", &wine_vkGetPhysicalDeviceSurfacePresentModesKHR},
|
||||
{"vkGetPhysicalDeviceSurfaceSupportKHR", &wine_vkGetPhysicalDeviceSurfaceSupportKHR},
|
||||
{"vkGetPhysicalDeviceToolPropertiesEXT", &wine_vkGetPhysicalDeviceToolPropertiesEXT},
|
||||
{"vkGetPhysicalDeviceWin32PresentationSupportKHR", &wine_vkGetPhysicalDeviceWin32PresentationSupportKHR},
|
||||
};
|
||||
|
||||
|
@ -4909,6 +5079,7 @@ static const char * const vk_device_extensions[] =
|
|||
"VK_EXT_subgroup_size_control",
|
||||
"VK_EXT_texel_buffer_alignment",
|
||||
"VK_EXT_texture_compression_astc_hdr",
|
||||
"VK_EXT_tooling_info",
|
||||
"VK_EXT_transform_feedback",
|
||||
"VK_EXT_validation_cache",
|
||||
"VK_EXT_vertex_attribute_divisor",
|
||||
|
@ -4923,6 +5094,7 @@ static const char * const vk_device_extensions[] =
|
|||
"VK_KHR_16bit_storage",
|
||||
"VK_KHR_8bit_storage",
|
||||
"VK_KHR_bind_memory2",
|
||||
"VK_KHR_buffer_device_address",
|
||||
"VK_KHR_create_renderpass2",
|
||||
"VK_KHR_dedicated_allocation",
|
||||
"VK_KHR_depth_stencil_resolve",
|
||||
|
@ -4941,11 +5113,13 @@ static const char * const vk_device_extensions[] =
|
|||
"VK_KHR_maintenance2",
|
||||
"VK_KHR_maintenance3",
|
||||
"VK_KHR_multiview",
|
||||
"VK_KHR_performance_query",
|
||||
"VK_KHR_pipeline_executable_properties",
|
||||
"VK_KHR_push_descriptor",
|
||||
"VK_KHR_relaxed_block_layout",
|
||||
"VK_KHR_sampler_mirror_clamp_to_edge",
|
||||
"VK_KHR_sampler_ycbcr_conversion",
|
||||
"VK_KHR_separate_depth_stencil_layouts",
|
||||
"VK_KHR_shader_atomic_int64",
|
||||
"VK_KHR_shader_clock",
|
||||
"VK_KHR_shader_draw_parameters",
|
||||
|
|
|
@ -81,6 +81,14 @@ typedef struct VkAcquireNextImageInfoKHR_host
|
|||
uint32_t deviceMask;
|
||||
} VkAcquireNextImageInfoKHR_host;
|
||||
|
||||
typedef struct VkAcquireProfilingLockInfoKHR_host
|
||||
{
|
||||
VkStructureType sType;
|
||||
const void *pNext;
|
||||
VkAcquireProfilingLockFlagsKHR flags;
|
||||
uint64_t timeout;
|
||||
} VkAcquireProfilingLockInfoKHR_host;
|
||||
|
||||
typedef struct VkCommandBufferAllocateInfo_host
|
||||
{
|
||||
VkStructureType sType;
|
||||
|
@ -500,12 +508,12 @@ typedef struct VkMemoryRequirements2KHR_host
|
|||
VkMemoryRequirements_host memoryRequirements;
|
||||
} VkMemoryRequirements2KHR_host;
|
||||
|
||||
typedef struct VkBufferDeviceAddressInfoEXT_host
|
||||
typedef struct VkBufferDeviceAddressInfoKHR_host
|
||||
{
|
||||
VkStructureType sType;
|
||||
const void *pNext;
|
||||
VkBuffer buffer;
|
||||
} VkBufferDeviceAddressInfoEXT_host;
|
||||
} VkBufferDeviceAddressInfoKHR_host;
|
||||
|
||||
typedef struct VkBufferMemoryRequirementsInfo2_host
|
||||
{
|
||||
|
@ -521,6 +529,13 @@ typedef struct VkMemoryRequirements2_host
|
|||
VkMemoryRequirements_host memoryRequirements;
|
||||
} VkMemoryRequirements2_host;
|
||||
|
||||
typedef struct VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host
|
||||
{
|
||||
VkStructureType sType;
|
||||
const void *pNext;
|
||||
VkDeviceMemory memory;
|
||||
} VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host;
|
||||
|
||||
typedef struct VkImageMemoryRequirementsInfo2_host
|
||||
{
|
||||
VkStructureType sType;
|
||||
|
@ -819,6 +834,11 @@ struct vulkan_device_funcs
|
|||
#endif
|
||||
VkResult (*p_vkAcquireNextImageKHR)(VkDevice, VkSwapchainKHR, uint64_t, VkSemaphore, VkFence, uint32_t *);
|
||||
VkResult (*p_vkAcquirePerformanceConfigurationINTEL)(VkDevice, const VkPerformanceConfigurationAcquireInfoINTEL *, VkPerformanceConfigurationINTEL *);
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
VkResult (*p_vkAcquireProfilingLockKHR)(VkDevice, const VkAcquireProfilingLockInfoKHR_host *);
|
||||
#else
|
||||
VkResult (*p_vkAcquireProfilingLockKHR)(VkDevice, const VkAcquireProfilingLockInfoKHR *);
|
||||
#endif
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
VkResult (*p_vkAllocateCommandBuffers)(VkDevice, const VkCommandBufferAllocateInfo_host *, VkCommandBuffer *);
|
||||
#else
|
||||
|
@ -1115,9 +1135,14 @@ struct vulkan_device_funcs
|
|||
void (*p_vkGetAccelerationStructureMemoryRequirementsNV)(VkDevice, const VkAccelerationStructureMemoryRequirementsInfoNV *, VkMemoryRequirements2KHR *);
|
||||
#endif
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
VkDeviceAddress (*p_vkGetBufferDeviceAddressEXT)(VkDevice, const VkBufferDeviceAddressInfoEXT_host *);
|
||||
VkDeviceAddress (*p_vkGetBufferDeviceAddressEXT)(VkDevice, const VkBufferDeviceAddressInfoKHR_host *);
|
||||
#else
|
||||
VkDeviceAddress (*p_vkGetBufferDeviceAddressEXT)(VkDevice, const VkBufferDeviceAddressInfoEXT *);
|
||||
VkDeviceAddress (*p_vkGetBufferDeviceAddressEXT)(VkDevice, const VkBufferDeviceAddressInfoKHR *);
|
||||
#endif
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
VkDeviceAddress (*p_vkGetBufferDeviceAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR_host *);
|
||||
#else
|
||||
VkDeviceAddress (*p_vkGetBufferDeviceAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR *);
|
||||
#endif
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
void (*p_vkGetBufferMemoryRequirements)(VkDevice, VkBuffer, VkMemoryRequirements_host *);
|
||||
|
@ -1133,6 +1158,11 @@ struct vulkan_device_funcs
|
|||
void (*p_vkGetBufferMemoryRequirements2KHR)(VkDevice, const VkBufferMemoryRequirementsInfo2_host *, VkMemoryRequirements2_host *);
|
||||
#else
|
||||
void (*p_vkGetBufferMemoryRequirements2KHR)(VkDevice, const VkBufferMemoryRequirementsInfo2 *, VkMemoryRequirements2 *);
|
||||
#endif
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
uint64_t (*p_vkGetBufferOpaqueCaptureAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR_host *);
|
||||
#else
|
||||
uint64_t (*p_vkGetBufferOpaqueCaptureAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR *);
|
||||
#endif
|
||||
void (*p_vkGetDescriptorSetLayoutSupport)(VkDevice, const VkDescriptorSetLayoutCreateInfo *, VkDescriptorSetLayoutSupport *);
|
||||
void (*p_vkGetDescriptorSetLayoutSupportKHR)(VkDevice, const VkDescriptorSetLayoutCreateInfo *, VkDescriptorSetLayoutSupport *);
|
||||
|
@ -1141,6 +1171,11 @@ struct vulkan_device_funcs
|
|||
VkResult (*p_vkGetDeviceGroupPresentCapabilitiesKHR)(VkDevice, VkDeviceGroupPresentCapabilitiesKHR *);
|
||||
VkResult (*p_vkGetDeviceGroupSurfacePresentModesKHR)(VkDevice, VkSurfaceKHR, VkDeviceGroupPresentModeFlagsKHR *);
|
||||
void (*p_vkGetDeviceMemoryCommitment)(VkDevice, VkDeviceMemory, VkDeviceSize *);
|
||||
#if defined(USE_STRUCT_CONVERSION)
|
||||
uint64_t (*p_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(VkDevice, const VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host *);
|
||||
#else
|
||||
uint64_t (*p_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(VkDevice, const VkDeviceMemoryOpaqueCaptureAddressInfoKHR *);
|
||||
#endif
|
||||
void (*p_vkGetDeviceQueue)(VkDevice, uint32_t, uint32_t, VkQueue *);
|
||||
void (*p_vkGetDeviceQueue2)(VkDevice, const VkDeviceQueueInfo2 *, VkQueue *);
|
||||
VkResult (*p_vkGetEventStatus)(VkDevice, VkEvent);
|
||||
|
@ -1221,6 +1256,7 @@ struct vulkan_device_funcs
|
|||
VkResult (*p_vkQueueSubmit)(VkQueue, uint32_t, const VkSubmitInfo *, VkFence);
|
||||
VkResult (*p_vkQueueWaitIdle)(VkQueue);
|
||||
VkResult (*p_vkReleasePerformanceConfigurationINTEL)(VkDevice, VkPerformanceConfigurationINTEL);
|
||||
void (*p_vkReleaseProfilingLockKHR)(VkDevice);
|
||||
VkResult (*p_vkResetCommandBuffer)(VkCommandBuffer, VkCommandBufferResetFlags);
|
||||
VkResult (*p_vkResetCommandPool)(VkDevice, VkCommandPool, VkCommandPoolResetFlags);
|
||||
VkResult (*p_vkResetDescriptorPool)(VkDevice, VkDescriptorPool, VkDescriptorPoolResetFlags);
|
||||
|
@ -1259,6 +1295,7 @@ struct vulkan_instance_funcs
|
|||
VkResult (*p_vkEnumerateDeviceLayerProperties)(VkPhysicalDevice, uint32_t *, VkLayerProperties *);
|
||||
VkResult (*p_vkEnumeratePhysicalDeviceGroups)(VkInstance, uint32_t *, VkPhysicalDeviceGroupProperties *);
|
||||
VkResult (*p_vkEnumeratePhysicalDeviceGroupsKHR)(VkInstance, uint32_t *, VkPhysicalDeviceGroupProperties *);
|
||||
VkResult (*p_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR)(VkPhysicalDevice, uint32_t, uint32_t *, VkPerformanceCounterKHR *, VkPerformanceCounterDescriptionKHR *);
|
||||
VkResult (*p_vkEnumeratePhysicalDevices)(VkInstance, uint32_t *, VkPhysicalDevice *);
|
||||
VkResult (*p_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV)(VkPhysicalDevice, uint32_t *, VkCooperativeMatrixPropertiesNV *);
|
||||
void (*p_vkGetPhysicalDeviceFeatures)(VkPhysicalDevice, VkPhysicalDeviceFeatures *);
|
||||
|
@ -1314,6 +1351,7 @@ struct vulkan_instance_funcs
|
|||
#else
|
||||
void (*p_vkGetPhysicalDeviceProperties2KHR)(VkPhysicalDevice, VkPhysicalDeviceProperties2 *);
|
||||
#endif
|
||||
void (*p_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR)(VkPhysicalDevice, const VkQueryPoolPerformanceCreateInfoKHR *, uint32_t *);
|
||||
void (*p_vkGetPhysicalDeviceQueueFamilyProperties)(VkPhysicalDevice, uint32_t *, VkQueueFamilyProperties *);
|
||||
void (*p_vkGetPhysicalDeviceQueueFamilyProperties2)(VkPhysicalDevice, uint32_t *, VkQueueFamilyProperties2 *);
|
||||
void (*p_vkGetPhysicalDeviceQueueFamilyProperties2KHR)(VkPhysicalDevice, uint32_t *, VkQueueFamilyProperties2 *);
|
||||
|
@ -1325,6 +1363,7 @@ struct vulkan_instance_funcs
|
|||
VkResult (*p_vkGetPhysicalDeviceSurfaceFormatsKHR)(VkPhysicalDevice, VkSurfaceKHR, uint32_t *, VkSurfaceFormatKHR *);
|
||||
VkResult (*p_vkGetPhysicalDeviceSurfacePresentModesKHR)(VkPhysicalDevice, VkSurfaceKHR, uint32_t *, VkPresentModeKHR *);
|
||||
VkResult (*p_vkGetPhysicalDeviceSurfaceSupportKHR)(VkPhysicalDevice, uint32_t, VkSurfaceKHR, VkBool32 *);
|
||||
VkResult (*p_vkGetPhysicalDeviceToolPropertiesEXT)(VkPhysicalDevice, uint32_t *, VkPhysicalDeviceToolPropertiesEXT *);
|
||||
VkBool32 (*p_vkGetPhysicalDeviceWin32PresentationSupportKHR)(VkPhysicalDevice, uint32_t);
|
||||
};
|
||||
|
||||
|
@ -1332,6 +1371,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkAcquireNextImage2KHR) \
|
||||
USE_VK_FUNC(vkAcquireNextImageKHR) \
|
||||
USE_VK_FUNC(vkAcquirePerformanceConfigurationINTEL) \
|
||||
USE_VK_FUNC(vkAcquireProfilingLockKHR) \
|
||||
USE_VK_FUNC(vkAllocateCommandBuffers) \
|
||||
USE_VK_FUNC(vkAllocateDescriptorSets) \
|
||||
USE_VK_FUNC(vkAllocateMemory) \
|
||||
|
@ -1492,9 +1532,11 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkGetAccelerationStructureHandleNV) \
|
||||
USE_VK_FUNC(vkGetAccelerationStructureMemoryRequirementsNV) \
|
||||
USE_VK_FUNC(vkGetBufferDeviceAddressEXT) \
|
||||
USE_VK_FUNC(vkGetBufferDeviceAddressKHR) \
|
||||
USE_VK_FUNC(vkGetBufferMemoryRequirements) \
|
||||
USE_VK_FUNC(vkGetBufferMemoryRequirements2) \
|
||||
USE_VK_FUNC(vkGetBufferMemoryRequirements2KHR) \
|
||||
USE_VK_FUNC(vkGetBufferOpaqueCaptureAddressKHR) \
|
||||
USE_VK_FUNC(vkGetDescriptorSetLayoutSupport) \
|
||||
USE_VK_FUNC(vkGetDescriptorSetLayoutSupportKHR) \
|
||||
USE_VK_FUNC(vkGetDeviceGroupPeerMemoryFeatures) \
|
||||
|
@ -1502,6 +1544,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkGetDeviceGroupPresentCapabilitiesKHR) \
|
||||
USE_VK_FUNC(vkGetDeviceGroupSurfacePresentModesKHR) \
|
||||
USE_VK_FUNC(vkGetDeviceMemoryCommitment) \
|
||||
USE_VK_FUNC(vkGetDeviceMemoryOpaqueCaptureAddressKHR) \
|
||||
USE_VK_FUNC(vkGetDeviceQueue) \
|
||||
USE_VK_FUNC(vkGetDeviceQueue2) \
|
||||
USE_VK_FUNC(vkGetEventStatus) \
|
||||
|
@ -1538,6 +1581,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkQueueSubmit) \
|
||||
USE_VK_FUNC(vkQueueWaitIdle) \
|
||||
USE_VK_FUNC(vkReleasePerformanceConfigurationINTEL) \
|
||||
USE_VK_FUNC(vkReleaseProfilingLockKHR) \
|
||||
USE_VK_FUNC(vkResetCommandBuffer) \
|
||||
USE_VK_FUNC(vkResetCommandPool) \
|
||||
USE_VK_FUNC(vkResetDescriptorPool) \
|
||||
|
@ -1565,6 +1609,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkEnumerateDeviceLayerProperties) \
|
||||
USE_VK_FUNC(vkEnumeratePhysicalDeviceGroups) \
|
||||
USE_VK_FUNC(vkEnumeratePhysicalDeviceGroupsKHR) \
|
||||
USE_VK_FUNC(vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR) \
|
||||
USE_VK_FUNC(vkEnumeratePhysicalDevices) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceCooperativeMatrixPropertiesNV) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceFeatures) \
|
||||
|
@ -1584,6 +1629,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkGetPhysicalDeviceProperties) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceProperties2) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceProperties2KHR) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties2) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties2KHR) \
|
||||
|
@ -1595,6 +1641,7 @@ struct vulkan_instance_funcs
|
|||
USE_VK_FUNC(vkGetPhysicalDeviceSurfaceFormatsKHR) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceSurfacePresentModesKHR) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceSurfaceSupportKHR) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceToolPropertiesEXT) \
|
||||
USE_VK_FUNC(vkGetPhysicalDeviceWin32PresentationSupportKHR)
|
||||
|
||||
#endif /* __WINE_VULKAN_THUNKS_H */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue