Commit 7a2cee7a authored by Georg Lehmann's avatar Georg Lehmann Committed by Alexandre Julliard

winevulkan: Update to VK spec version 1.3.272.

parent 1941a915
......@@ -793,6 +793,14 @@ void WINAPI vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, const VkCuLaun
UNIX_CALL(vkCmdCuLaunchKernelNVX, &params);
}
void WINAPI vkCmdCudaLaunchKernelNV(VkCommandBuffer commandBuffer, const VkCudaLaunchInfoNV *pLaunchInfo)
{
struct vkCmdCudaLaunchKernelNV_params params;
params.commandBuffer = commandBuffer;
params.pLaunchInfo = pLaunchInfo;
UNIX_CALL(vkCmdCudaLaunchKernelNV, &params);
}
void WINAPI vkCmdDebugMarkerBeginEXT(VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT *pMarkerInfo)
{
struct vkCmdDebugMarkerBeginEXT_params params;
......@@ -2684,6 +2692,32 @@ VkResult WINAPI vkCreateCuModuleNVX(VkDevice device, const VkCuModuleCreateInfoN
return params.result;
}
VkResult WINAPI vkCreateCudaFunctionNV(VkDevice device, const VkCudaFunctionCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCudaFunctionNV *pFunction)
{
struct vkCreateCudaFunctionNV_params params;
NTSTATUS status;
params.device = device;
params.pCreateInfo = pCreateInfo;
params.pAllocator = pAllocator;
params.pFunction = pFunction;
status = UNIX_CALL(vkCreateCudaFunctionNV, &params);
assert(!status && "vkCreateCudaFunctionNV");
return params.result;
}
VkResult WINAPI vkCreateCudaModuleNV(VkDevice device, const VkCudaModuleCreateInfoNV *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCudaModuleNV *pModule)
{
struct vkCreateCudaModuleNV_params params;
NTSTATUS status;
params.device = device;
params.pCreateInfo = pCreateInfo;
params.pAllocator = pAllocator;
params.pModule = pModule;
status = UNIX_CALL(vkCreateCudaModuleNV, &params);
assert(!status && "vkCreateCudaModuleNV");
return params.result;
}
VkResult WINAPI vkCreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackEXT *pCallback)
{
struct vkCreateDebugReportCallbackEXT_params params;
......@@ -3261,6 +3295,28 @@ void WINAPI vkDestroyCuModuleNVX(VkDevice device, VkCuModuleNVX module, const Vk
assert(!status && "vkDestroyCuModuleNVX");
}
void WINAPI vkDestroyCudaFunctionNV(VkDevice device, VkCudaFunctionNV function, const VkAllocationCallbacks *pAllocator)
{
struct vkDestroyCudaFunctionNV_params params;
NTSTATUS status;
params.device = device;
params.function = function;
params.pAllocator = pAllocator;
status = UNIX_CALL(vkDestroyCudaFunctionNV, &params);
assert(!status && "vkDestroyCudaFunctionNV");
}
void WINAPI vkDestroyCudaModuleNV(VkDevice device, VkCudaModuleNV module, const VkAllocationCallbacks *pAllocator)
{
struct vkDestroyCudaModuleNV_params params;
NTSTATUS status;
params.device = device;
params.module = module;
params.pAllocator = pAllocator;
status = UNIX_CALL(vkDestroyCudaModuleNV, &params);
assert(!status && "vkDestroyCudaModuleNV");
}
void WINAPI vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks *pAllocator)
{
struct vkDestroyDebugReportCallbackEXT_params params;
......@@ -3907,6 +3963,19 @@ VkResult WINAPI vkGetCalibratedTimestampsEXT(VkDevice device, uint32_t timestamp
return params.result;
}
VkResult WINAPI vkGetCudaModuleCacheNV(VkDevice device, VkCudaModuleNV module, size_t *pCacheSize, void *pCacheData)
{
struct vkGetCudaModuleCacheNV_params params;
NTSTATUS status;
params.device = device;
params.module = module;
params.pCacheSize = pCacheSize;
params.pCacheData = pCacheData;
status = UNIX_CALL(vkGetCudaModuleCacheNV, &params);
assert(!status && "vkGetCudaModuleCacheNV");
return params.result;
}
uint32_t WINAPI vkGetDeferredOperationMaxConcurrencyKHR(VkDevice device, VkDeferredOperationKHR operation)
{
struct vkGetDeferredOperationMaxConcurrencyKHR_params params;
......@@ -4446,13 +4515,12 @@ VkResult WINAPI vkGetImageViewOpaqueCaptureDescriptorDataEXT(VkDevice device, co
return params.result;
}
void WINAPI vkGetLatencyTimingsNV(VkDevice device, VkSwapchainKHR swapchain, uint32_t *pTimingCount, VkGetLatencyMarkerInfoNV *pLatencyMarkerInfo)
void WINAPI vkGetLatencyTimingsNV(VkDevice device, VkSwapchainKHR swapchain, VkGetLatencyMarkerInfoNV *pLatencyMarkerInfo)
{
struct vkGetLatencyTimingsNV_params params;
NTSTATUS status;
params.device = device;
params.swapchain = swapchain;
params.pTimingCount = pTimingCount;
params.pLatencyMarkerInfo = pLatencyMarkerInfo;
status = UNIX_CALL(vkGetLatencyTimingsNV, &params);
assert(!status && "vkGetLatencyTimingsNV");
......@@ -6061,6 +6129,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkCmdCopyMicromapToMemoryEXT", vkCmdCopyMicromapToMemoryEXT},
{"vkCmdCopyQueryPoolResults", vkCmdCopyQueryPoolResults},
{"vkCmdCuLaunchKernelNVX", vkCmdCuLaunchKernelNVX},
{"vkCmdCudaLaunchKernelNV", vkCmdCudaLaunchKernelNV},
{"vkCmdDebugMarkerBeginEXT", vkCmdDebugMarkerBeginEXT},
{"vkCmdDebugMarkerEndEXT", vkCmdDebugMarkerEndEXT},
{"vkCmdDebugMarkerInsertEXT", vkCmdDebugMarkerInsertEXT},
......@@ -6256,6 +6325,8 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkCreateComputePipelines", vkCreateComputePipelines},
{"vkCreateCuFunctionNVX", vkCreateCuFunctionNVX},
{"vkCreateCuModuleNVX", vkCreateCuModuleNVX},
{"vkCreateCudaFunctionNV", vkCreateCudaFunctionNV},
{"vkCreateCudaModuleNV", vkCreateCudaModuleNV},
{"vkCreateDeferredOperationKHR", vkCreateDeferredOperationKHR},
{"vkCreateDescriptorPool", vkCreateDescriptorPool},
{"vkCreateDescriptorSetLayout", vkCreateDescriptorSetLayout},
......@@ -6298,6 +6369,8 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkDestroyCommandPool", vkDestroyCommandPool},
{"vkDestroyCuFunctionNVX", vkDestroyCuFunctionNVX},
{"vkDestroyCuModuleNVX", vkDestroyCuModuleNVX},
{"vkDestroyCudaFunctionNV", vkDestroyCudaFunctionNV},
{"vkDestroyCudaModuleNV", vkDestroyCudaModuleNV},
{"vkDestroyDeferredOperationKHR", vkDestroyDeferredOperationKHR},
{"vkDestroyDescriptorPool", vkDestroyDescriptorPool},
{"vkDestroyDescriptorSetLayout", vkDestroyDescriptorSetLayout},
......@@ -6348,6 +6421,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkGetBufferOpaqueCaptureAddressKHR", vkGetBufferOpaqueCaptureAddressKHR},
{"vkGetBufferOpaqueCaptureDescriptorDataEXT", vkGetBufferOpaqueCaptureDescriptorDataEXT},
{"vkGetCalibratedTimestampsEXT", vkGetCalibratedTimestampsEXT},
{"vkGetCudaModuleCacheNV", vkGetCudaModuleCacheNV},
{"vkGetDeferredOperationMaxConcurrencyKHR", vkGetDeferredOperationMaxConcurrencyKHR},
{"vkGetDeferredOperationResultKHR", vkGetDeferredOperationResultKHR},
{"vkGetDescriptorEXT", vkGetDescriptorEXT},
......
......@@ -92,6 +92,7 @@ enum unix_call
unix_vkCmdCopyMicromapToMemoryEXT,
unix_vkCmdCopyQueryPoolResults,
unix_vkCmdCuLaunchKernelNVX,
unix_vkCmdCudaLaunchKernelNV,
unix_vkCmdDebugMarkerBeginEXT,
unix_vkCmdDebugMarkerEndEXT,
unix_vkCmdDebugMarkerInsertEXT,
......@@ -287,6 +288,8 @@ enum unix_call
unix_vkCreateComputePipelines,
unix_vkCreateCuFunctionNVX,
unix_vkCreateCuModuleNVX,
unix_vkCreateCudaFunctionNV,
unix_vkCreateCudaModuleNV,
unix_vkCreateDebugReportCallbackEXT,
unix_vkCreateDebugUtilsMessengerEXT,
unix_vkCreateDeferredOperationKHR,
......@@ -335,6 +338,8 @@ enum unix_call
unix_vkDestroyCommandPool,
unix_vkDestroyCuFunctionNVX,
unix_vkDestroyCuModuleNVX,
unix_vkDestroyCudaFunctionNV,
unix_vkDestroyCudaModuleNV,
unix_vkDestroyDebugReportCallbackEXT,
unix_vkDestroyDebugUtilsMessengerEXT,
unix_vkDestroyDeferredOperationKHR,
......@@ -397,6 +402,7 @@ enum unix_call
unix_vkGetBufferOpaqueCaptureAddressKHR,
unix_vkGetBufferOpaqueCaptureDescriptorDataEXT,
unix_vkGetCalibratedTimestampsEXT,
unix_vkGetCudaModuleCacheNV,
unix_vkGetDeferredOperationMaxConcurrencyKHR,
unix_vkGetDeferredOperationResultKHR,
unix_vkGetDescriptorEXT,
......@@ -1184,6 +1190,12 @@ struct vkCmdCuLaunchKernelNVX_params
const VkCuLaunchInfoNVX *pLaunchInfo;
};
struct vkCmdCudaLaunchKernelNV_params
{
VkCommandBuffer commandBuffer;
const VkCudaLaunchInfoNV *pLaunchInfo;
};
struct vkCmdDebugMarkerBeginEXT_params
{
VkCommandBuffer commandBuffer;
......@@ -2657,6 +2669,24 @@ struct vkCreateCuModuleNVX_params
VkResult result;
};
struct vkCreateCudaFunctionNV_params
{
VkDevice device;
const VkCudaFunctionCreateInfoNV *pCreateInfo;
const VkAllocationCallbacks *pAllocator;
VkCudaFunctionNV *pFunction;
VkResult result;
};
struct vkCreateCudaModuleNV_params
{
VkDevice device;
const VkCudaModuleCreateInfoNV *pCreateInfo;
const VkAllocationCallbacks *pAllocator;
VkCudaModuleNV *pModule;
VkResult result;
};
struct vkCreateDebugReportCallbackEXT_params
{
VkInstance instance;
......@@ -3080,6 +3110,20 @@ struct vkDestroyCuModuleNVX_params
const VkAllocationCallbacks *pAllocator;
};
struct vkDestroyCudaFunctionNV_params
{
VkDevice device;
VkCudaFunctionNV DECLSPEC_ALIGN(8) function;
const VkAllocationCallbacks *pAllocator;
};
struct vkDestroyCudaModuleNV_params
{
VkDevice device;
VkCudaModuleNV DECLSPEC_ALIGN(8) module;
const VkAllocationCallbacks *pAllocator;
};
struct vkDestroyDebugReportCallbackEXT_params
{
VkInstance instance;
......@@ -3532,6 +3576,15 @@ struct vkGetCalibratedTimestampsEXT_params
VkResult result;
};
struct vkGetCudaModuleCacheNV_params
{
VkDevice device;
VkCudaModuleNV DECLSPEC_ALIGN(8) module;
size_t *pCacheSize;
void *pCacheData;
VkResult result;
};
struct vkGetDeferredOperationMaxConcurrencyKHR_params
{
VkDevice device;
......@@ -3889,7 +3942,6 @@ struct vkGetLatencyTimingsNV_params
{
VkDevice device;
VkSwapchainKHR DECLSPEC_ALIGN(8) swapchain;
uint32_t *pTimingCount;
VkGetLatencyMarkerInfoNV *pLatencyMarkerInfo;
};
......
......@@ -64,7 +64,7 @@ from enum import Enum
LOGGER = logging.Logger("vulkan")
LOGGER.addHandler(logging.StreamHandler())
VK_XML_VERSION = "1.3.267"
VK_XML_VERSION = "1.3.272"
WINE_VK_VERSION = (1, 3)
# Filenames to create.
......@@ -95,6 +95,7 @@ UNSUPPORTED_EXTENSIONS = [
# Device extensions
"VK_AMD_display_native_hdr",
"VK_ARM_render_pass_striped", # XML bug, see https://github.com/KhronosGroup/Vulkan-Docs/pull/2279
"VK_EXT_full_screen_exclusive",
"VK_GOOGLE_display_timing",
"VK_KHR_external_fence_win32",
......
......@@ -139,6 +139,7 @@ struct vulkan_device_funcs
void (*p_vkCmdCopyMicromapToMemoryEXT)(VkCommandBuffer, const VkCopyMicromapToMemoryInfoEXT *);
void (*p_vkCmdCopyQueryPoolResults)(VkCommandBuffer, VkQueryPool, uint32_t, uint32_t, VkBuffer, VkDeviceSize, VkDeviceSize, VkQueryResultFlags);
void (*p_vkCmdCuLaunchKernelNVX)(VkCommandBuffer, const VkCuLaunchInfoNVX *);
void (*p_vkCmdCudaLaunchKernelNV)(VkCommandBuffer, const VkCudaLaunchInfoNV *);
void (*p_vkCmdDebugMarkerBeginEXT)(VkCommandBuffer, const VkDebugMarkerMarkerInfoEXT *);
void (*p_vkCmdDebugMarkerEndEXT)(VkCommandBuffer);
void (*p_vkCmdDebugMarkerInsertEXT)(VkCommandBuffer, const VkDebugMarkerMarkerInfoEXT *);
......@@ -334,6 +335,8 @@ struct vulkan_device_funcs
VkResult (*p_vkCreateComputePipelines)(VkDevice, VkPipelineCache, uint32_t, const VkComputePipelineCreateInfo *, const VkAllocationCallbacks *, VkPipeline *);
VkResult (*p_vkCreateCuFunctionNVX)(VkDevice, const VkCuFunctionCreateInfoNVX *, const VkAllocationCallbacks *, VkCuFunctionNVX *);
VkResult (*p_vkCreateCuModuleNVX)(VkDevice, const VkCuModuleCreateInfoNVX *, const VkAllocationCallbacks *, VkCuModuleNVX *);
VkResult (*p_vkCreateCudaFunctionNV)(VkDevice, const VkCudaFunctionCreateInfoNV *, const VkAllocationCallbacks *, VkCudaFunctionNV *);
VkResult (*p_vkCreateCudaModuleNV)(VkDevice, const VkCudaModuleCreateInfoNV *, const VkAllocationCallbacks *, VkCudaModuleNV *);
VkResult (*p_vkCreateDeferredOperationKHR)(VkDevice, const VkAllocationCallbacks *, VkDeferredOperationKHR *);
VkResult (*p_vkCreateDescriptorPool)(VkDevice, const VkDescriptorPoolCreateInfo *, const VkAllocationCallbacks *, VkDescriptorPool *);
VkResult (*p_vkCreateDescriptorSetLayout)(VkDevice, const VkDescriptorSetLayoutCreateInfo *, const VkAllocationCallbacks *, VkDescriptorSetLayout *);
......@@ -376,6 +379,8 @@ struct vulkan_device_funcs
void (*p_vkDestroyCommandPool)(VkDevice, VkCommandPool, const VkAllocationCallbacks *);
void (*p_vkDestroyCuFunctionNVX)(VkDevice, VkCuFunctionNVX, const VkAllocationCallbacks *);
void (*p_vkDestroyCuModuleNVX)(VkDevice, VkCuModuleNVX, const VkAllocationCallbacks *);
void (*p_vkDestroyCudaFunctionNV)(VkDevice, VkCudaFunctionNV, const VkAllocationCallbacks *);
void (*p_vkDestroyCudaModuleNV)(VkDevice, VkCudaModuleNV, const VkAllocationCallbacks *);
void (*p_vkDestroyDeferredOperationKHR)(VkDevice, VkDeferredOperationKHR, const VkAllocationCallbacks *);
void (*p_vkDestroyDescriptorPool)(VkDevice, VkDescriptorPool, const VkAllocationCallbacks *);
void (*p_vkDestroyDescriptorSetLayout)(VkDevice, VkDescriptorSetLayout, const VkAllocationCallbacks *);
......@@ -426,6 +431,7 @@ struct vulkan_device_funcs
uint64_t (*p_vkGetBufferOpaqueCaptureAddressKHR)(VkDevice, const VkBufferDeviceAddressInfo *);
VkResult (*p_vkGetBufferOpaqueCaptureDescriptorDataEXT)(VkDevice, const VkBufferCaptureDescriptorDataInfoEXT *, void *);
VkResult (*p_vkGetCalibratedTimestampsEXT)(VkDevice, uint32_t, const VkCalibratedTimestampInfoEXT *, uint64_t *, uint64_t *);
VkResult (*p_vkGetCudaModuleCacheNV)(VkDevice, VkCudaModuleNV, size_t *, void *);
uint32_t (*p_vkGetDeferredOperationMaxConcurrencyKHR)(VkDevice, VkDeferredOperationKHR);
VkResult (*p_vkGetDeferredOperationResultKHR)(VkDevice, VkDeferredOperationKHR);
void (*p_vkGetDescriptorEXT)(VkDevice, const VkDescriptorGetInfoEXT *, size_t, void *);
......@@ -473,7 +479,7 @@ struct vulkan_device_funcs
VkResult (*p_vkGetImageViewAddressNVX)(VkDevice, VkImageView, VkImageViewAddressPropertiesNVX *);
uint32_t (*p_vkGetImageViewHandleNVX)(VkDevice, const VkImageViewHandleInfoNVX *);
VkResult (*p_vkGetImageViewOpaqueCaptureDescriptorDataEXT)(VkDevice, const VkImageViewCaptureDescriptorDataInfoEXT *, void *);
void (*p_vkGetLatencyTimingsNV)(VkDevice, VkSwapchainKHR, uint32_t *, VkGetLatencyMarkerInfoNV *);
void (*p_vkGetLatencyTimingsNV)(VkDevice, VkSwapchainKHR, VkGetLatencyMarkerInfoNV *);
VkResult (*p_vkGetMemoryHostPointerPropertiesEXT)(VkDevice, VkExternalMemoryHandleTypeFlagBits, const void *, VkMemoryHostPointerPropertiesEXT *);
void (*p_vkGetMicromapBuildSizesEXT)(VkDevice, VkAccelerationStructureBuildTypeKHR, const VkMicromapBuildInfoEXT *, VkMicromapBuildSizesInfoEXT *);
VkResult (*p_vkGetPerformanceParameterINTEL)(VkDevice, VkPerformanceParameterTypeINTEL, VkPerformanceValueINTEL *);
......@@ -695,6 +701,7 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkCmdCopyMicromapToMemoryEXT) \
USE_VK_FUNC(vkCmdCopyQueryPoolResults) \
USE_VK_FUNC(vkCmdCuLaunchKernelNVX) \
USE_VK_FUNC(vkCmdCudaLaunchKernelNV) \
USE_VK_FUNC(vkCmdDebugMarkerBeginEXT) \
USE_VK_FUNC(vkCmdDebugMarkerEndEXT) \
USE_VK_FUNC(vkCmdDebugMarkerInsertEXT) \
......@@ -890,6 +897,8 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkCreateComputePipelines) \
USE_VK_FUNC(vkCreateCuFunctionNVX) \
USE_VK_FUNC(vkCreateCuModuleNVX) \
USE_VK_FUNC(vkCreateCudaFunctionNV) \
USE_VK_FUNC(vkCreateCudaModuleNV) \
USE_VK_FUNC(vkCreateDeferredOperationKHR) \
USE_VK_FUNC(vkCreateDescriptorPool) \
USE_VK_FUNC(vkCreateDescriptorSetLayout) \
......@@ -932,6 +941,8 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkDestroyCommandPool) \
USE_VK_FUNC(vkDestroyCuFunctionNVX) \
USE_VK_FUNC(vkDestroyCuModuleNVX) \
USE_VK_FUNC(vkDestroyCudaFunctionNV) \
USE_VK_FUNC(vkDestroyCudaModuleNV) \
USE_VK_FUNC(vkDestroyDeferredOperationKHR) \
USE_VK_FUNC(vkDestroyDescriptorPool) \
USE_VK_FUNC(vkDestroyDescriptorSetLayout) \
......@@ -982,6 +993,7 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkGetBufferOpaqueCaptureAddressKHR) \
USE_VK_FUNC(vkGetBufferOpaqueCaptureDescriptorDataEXT) \
USE_VK_FUNC(vkGetCalibratedTimestampsEXT) \
USE_VK_FUNC(vkGetCudaModuleCacheNV) \
USE_VK_FUNC(vkGetDeferredOperationMaxConcurrencyKHR) \
USE_VK_FUNC(vkGetDeferredOperationResultKHR) \
USE_VK_FUNC(vkGetDescriptorEXT) \
......
......@@ -2,6 +2,6 @@
"file_format_version": "1.0.0",
"ICD": {
"library_path": ".\\winevulkan.dll",
"api_version": "1.3.267"
"api_version": "1.3.272"
}
}
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