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

winevulkan: Update to VK spec version 1.3.259.

parent 330ef7a1
......@@ -2329,6 +2329,15 @@ void WINAPI vkCmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer,
UNIX_CALL(vkCmdUpdateBuffer, &params);
}
void WINAPI vkCmdUpdatePipelineIndirectBufferNV(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline)
{
struct vkCmdUpdatePipelineIndirectBufferNV_params params;
params.commandBuffer = commandBuffer;
params.pipelineBindPoint = pipelineBindPoint;
params.pipeline = pipeline;
UNIX_CALL(vkCmdUpdatePipelineIndirectBufferNV, &params);
}
void WINAPI vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent *pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier *pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier *pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier *pImageMemoryBarriers)
{
struct vkCmdWaitEvents_params params;
......@@ -4993,6 +5002,28 @@ VkResult WINAPI vkGetPipelineExecutableStatisticsKHR(VkDevice device, const VkPi
return params.result;
}
VkDeviceAddress WINAPI vkGetPipelineIndirectDeviceAddressNV(VkDevice device, const VkPipelineIndirectDeviceAddressInfoNV *pInfo)
{
struct vkGetPipelineIndirectDeviceAddressNV_params params;
NTSTATUS status;
params.device = device;
params.pInfo = pInfo;
status = UNIX_CALL(vkGetPipelineIndirectDeviceAddressNV, &params);
assert(!status && "vkGetPipelineIndirectDeviceAddressNV");
return params.result;
}
void WINAPI vkGetPipelineIndirectMemoryRequirementsNV(VkDevice device, const VkComputePipelineCreateInfo *pCreateInfo, VkMemoryRequirements2 *pMemoryRequirements)
{
struct vkGetPipelineIndirectMemoryRequirementsNV_params params;
NTSTATUS status;
params.device = device;
params.pCreateInfo = pCreateInfo;
params.pMemoryRequirements = pMemoryRequirements;
status = UNIX_CALL(vkGetPipelineIndirectMemoryRequirementsNV, &params);
assert(!status && "vkGetPipelineIndirectMemoryRequirementsNV");
}
VkResult WINAPI vkGetPipelinePropertiesEXT(VkDevice device, const VkPipelineInfoEXT *pPipelineInfo, VkBaseOutStructure *pPipelineProperties)
{
struct vkGetPipelinePropertiesEXT_params params;
......@@ -6092,6 +6123,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkCmdTraceRaysKHR", vkCmdTraceRaysKHR},
{"vkCmdTraceRaysNV", vkCmdTraceRaysNV},
{"vkCmdUpdateBuffer", vkCmdUpdateBuffer},
{"vkCmdUpdatePipelineIndirectBufferNV", vkCmdUpdatePipelineIndirectBufferNV},
{"vkCmdWaitEvents", vkCmdWaitEvents},
{"vkCmdWaitEvents2", vkCmdWaitEvents2},
{"vkCmdWaitEvents2KHR", vkCmdWaitEvents2KHR},
......@@ -6266,6 +6298,8 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkGetPipelineExecutableInternalRepresentationsKHR", vkGetPipelineExecutableInternalRepresentationsKHR},
{"vkGetPipelineExecutablePropertiesKHR", vkGetPipelineExecutablePropertiesKHR},
{"vkGetPipelineExecutableStatisticsKHR", vkGetPipelineExecutableStatisticsKHR},
{"vkGetPipelineIndirectDeviceAddressNV", vkGetPipelineIndirectDeviceAddressNV},
{"vkGetPipelineIndirectMemoryRequirementsNV", vkGetPipelineIndirectMemoryRequirementsNV},
{"vkGetPipelinePropertiesEXT", vkGetPipelinePropertiesEXT},
{"vkGetPrivateData", vkGetPrivateData},
{"vkGetPrivateDataEXT", vkGetPrivateDataEXT},
......
......@@ -256,6 +256,7 @@ enum unix_call
unix_vkCmdTraceRaysKHR,
unix_vkCmdTraceRaysNV,
unix_vkCmdUpdateBuffer,
unix_vkCmdUpdatePipelineIndirectBufferNV,
unix_vkCmdWaitEvents,
unix_vkCmdWaitEvents2,
unix_vkCmdWaitEvents2KHR,
......@@ -492,6 +493,8 @@ enum unix_call
unix_vkGetPipelineExecutableInternalRepresentationsKHR,
unix_vkGetPipelineExecutablePropertiesKHR,
unix_vkGetPipelineExecutableStatisticsKHR,
unix_vkGetPipelineIndirectDeviceAddressNV,
unix_vkGetPipelineIndirectMemoryRequirementsNV,
unix_vkGetPipelinePropertiesEXT,
unix_vkGetPrivateData,
unix_vkGetPrivateDataEXT,
......@@ -2374,6 +2377,13 @@ struct vkCmdUpdateBuffer_params
const void *pData;
};
struct vkCmdUpdatePipelineIndirectBufferNV_params
{
VkCommandBuffer commandBuffer;
VkPipelineBindPoint pipelineBindPoint;
VkPipeline DECLSPEC_ALIGN(8) pipeline;
};
struct vkCmdWaitEvents_params
{
VkCommandBuffer commandBuffer;
......@@ -4244,6 +4254,20 @@ struct vkGetPipelineExecutableStatisticsKHR_params
VkResult result;
};
struct vkGetPipelineIndirectDeviceAddressNV_params
{
VkDevice device;
const VkPipelineIndirectDeviceAddressInfoNV *pInfo;
VkDeviceAddress result;
};
struct vkGetPipelineIndirectMemoryRequirementsNV_params
{
VkDevice device;
const VkComputePipelineCreateInfo *pCreateInfo;
VkMemoryRequirements2 *pMemoryRequirements;
};
struct vkGetPipelinePropertiesEXT_params
{
VkDevice device;
......
......@@ -65,7 +65,7 @@ from enum import Enum
LOGGER = logging.Logger("vulkan")
LOGGER.addHandler(logging.StreamHandler())
VK_XML_VERSION = "1.3.258"
VK_XML_VERSION = "1.3.259"
WINE_VK_VERSION = (1, 3)
# Filenames to create.
......@@ -123,9 +123,6 @@ UNSUPPORTED_EXTENSIONS = [
# Deprecated extensions
"VK_NV_external_memory_capabilities",
"VK_NV_external_memory_win32",
# Likely broken: https://github.com/KhronosGroup/Vulkan-Docs/issues/2171
"VK_NV_device_generated_commands_compute",
]
# Either internal extensions which aren't present on the win32 platform which
......
......@@ -303,6 +303,7 @@ struct vulkan_device_funcs
void (*p_vkCmdTraceRaysKHR)(VkCommandBuffer, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, const VkStridedDeviceAddressRegionKHR *, uint32_t, uint32_t, uint32_t);
void (*p_vkCmdTraceRaysNV)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, uint32_t, uint32_t, uint32_t);
void (*p_vkCmdUpdateBuffer)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkDeviceSize, const void *);
void (*p_vkCmdUpdatePipelineIndirectBufferNV)(VkCommandBuffer, VkPipelineBindPoint, VkPipeline);
void (*p_vkCmdWaitEvents)(VkCommandBuffer, uint32_t, const VkEvent *, VkPipelineStageFlags, VkPipelineStageFlags, uint32_t, const VkMemoryBarrier *, uint32_t, const VkBufferMemoryBarrier *, uint32_t, const VkImageMemoryBarrier *);
void (*p_vkCmdWaitEvents2)(VkCommandBuffer, uint32_t, const VkEvent *, const VkDependencyInfo *);
void (*p_vkCmdWaitEvents2KHR)(VkCommandBuffer, uint32_t, const VkEvent *, const VkDependencyInfo *);
......@@ -476,6 +477,8 @@ struct vulkan_device_funcs
VkResult (*p_vkGetPipelineExecutableInternalRepresentationsKHR)(VkDevice, const VkPipelineExecutableInfoKHR *, uint32_t *, VkPipelineExecutableInternalRepresentationKHR *);
VkResult (*p_vkGetPipelineExecutablePropertiesKHR)(VkDevice, const VkPipelineInfoKHR *, uint32_t *, VkPipelineExecutablePropertiesKHR *);
VkResult (*p_vkGetPipelineExecutableStatisticsKHR)(VkDevice, const VkPipelineExecutableInfoKHR *, uint32_t *, VkPipelineExecutableStatisticKHR *);
VkDeviceAddress (*p_vkGetPipelineIndirectDeviceAddressNV)(VkDevice, const VkPipelineIndirectDeviceAddressInfoNV *);
void (*p_vkGetPipelineIndirectMemoryRequirementsNV)(VkDevice, const VkComputePipelineCreateInfo *, VkMemoryRequirements2 *);
VkResult (*p_vkGetPipelinePropertiesEXT)(VkDevice, const VkPipelineInfoEXT *, VkBaseOutStructure *);
void (*p_vkGetPrivateData)(VkDevice, VkObjectType, uint64_t, VkPrivateDataSlot, uint64_t *);
void (*p_vkGetPrivateDataEXT)(VkDevice, VkObjectType, uint64_t, VkPrivateDataSlot, uint64_t *);
......@@ -847,6 +850,7 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkCmdTraceRaysKHR) \
USE_VK_FUNC(vkCmdTraceRaysNV) \
USE_VK_FUNC(vkCmdUpdateBuffer) \
USE_VK_FUNC(vkCmdUpdatePipelineIndirectBufferNV) \
USE_VK_FUNC(vkCmdWaitEvents) \
USE_VK_FUNC(vkCmdWaitEvents2) \
USE_VK_FUNC(vkCmdWaitEvents2KHR) \
......@@ -1020,6 +1024,8 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkGetPipelineExecutableInternalRepresentationsKHR) \
USE_VK_FUNC(vkGetPipelineExecutablePropertiesKHR) \
USE_VK_FUNC(vkGetPipelineExecutableStatisticsKHR) \
USE_VK_FUNC(vkGetPipelineIndirectDeviceAddressNV) \
USE_VK_FUNC(vkGetPipelineIndirectMemoryRequirementsNV) \
USE_VK_FUNC(vkGetPipelinePropertiesEXT) \
USE_VK_FUNC(vkGetPrivateData) \
USE_VK_FUNC(vkGetPrivateDataEXT) \
......
......@@ -2,6 +2,6 @@
"file_format_version": "1.0.0",
"ICD": {
"library_path": ".\\winevulkan.dll",
"api_version": "1.3.258"
"api_version": "1.3.259"
}
}
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