Commit 1eed39ff authored by Georg Lehmann's avatar Georg Lehmann Committed by Alexandre Julliard

winevulkan: Update to VK spec version 1.3.242.

parent 421140b6
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# This file is generated from Vulkan vk.xml file covered # This file is generated from Vulkan vk.xml file covered
# by the following copyright and permission notice: # by the following copyright and permission notice:
# #
# Copyright 2015-2022 The Khronos Group Inc. # Copyright 2015-2023 The Khronos Group Inc.
# #
# SPDX-License-Identifier: Apache-2.0 OR MIT # SPDX-License-Identifier: Apache-2.0 OR MIT
# #
...@@ -169,6 +169,7 @@ ...@@ -169,6 +169,7 @@
@ stdcall vkGetBufferMemoryRequirements(ptr int64 ptr) winevulkan.vkGetBufferMemoryRequirements @ stdcall vkGetBufferMemoryRequirements(ptr int64 ptr) winevulkan.vkGetBufferMemoryRequirements
@ stdcall vkGetBufferMemoryRequirements2(ptr ptr ptr) winevulkan.vkGetBufferMemoryRequirements2 @ stdcall vkGetBufferMemoryRequirements2(ptr ptr ptr) winevulkan.vkGetBufferMemoryRequirements2
@ stdcall vkGetBufferOpaqueCaptureAddress(ptr ptr) winevulkan.vkGetBufferOpaqueCaptureAddress @ stdcall vkGetBufferOpaqueCaptureAddress(ptr ptr) winevulkan.vkGetBufferOpaqueCaptureAddress
@ stub vkGetCommandPoolMemoryConsumption
@ stdcall vkGetDescriptorSetLayoutSupport(ptr ptr ptr) winevulkan.vkGetDescriptorSetLayoutSupport @ stdcall vkGetDescriptorSetLayoutSupport(ptr ptr ptr) winevulkan.vkGetDescriptorSetLayoutSupport
@ stdcall vkGetDeviceBufferMemoryRequirements(ptr ptr ptr) winevulkan.vkGetDeviceBufferMemoryRequirements @ stdcall vkGetDeviceBufferMemoryRequirements(ptr ptr ptr) winevulkan.vkGetDeviceBufferMemoryRequirements
@ stdcall vkGetDeviceGroupPeerMemoryFeatures(ptr long long long ptr) winevulkan.vkGetDeviceGroupPeerMemoryFeatures @ stdcall vkGetDeviceGroupPeerMemoryFeatures(ptr long long long ptr) winevulkan.vkGetDeviceGroupPeerMemoryFeatures
...@@ -185,6 +186,7 @@ ...@@ -185,6 +186,7 @@
@ stub vkGetDisplayPlaneCapabilitiesKHR @ stub vkGetDisplayPlaneCapabilitiesKHR
@ stub vkGetDisplayPlaneSupportedDisplaysKHR @ stub vkGetDisplayPlaneSupportedDisplaysKHR
@ stdcall vkGetEventStatus(ptr int64) winevulkan.vkGetEventStatus @ stdcall vkGetEventStatus(ptr int64) winevulkan.vkGetEventStatus
@ stub vkGetFaultData
@ stdcall vkGetFenceStatus(ptr int64) winevulkan.vkGetFenceStatus @ stdcall vkGetFenceStatus(ptr int64) winevulkan.vkGetFenceStatus
@ stdcall vkGetImageMemoryRequirements(ptr int64 ptr) winevulkan.vkGetImageMemoryRequirements @ stdcall vkGetImageMemoryRequirements(ptr int64 ptr) winevulkan.vkGetImageMemoryRequirements
@ stdcall vkGetImageMemoryRequirements2(ptr ptr ptr) winevulkan.vkGetImageMemoryRequirements2 @ stdcall vkGetImageMemoryRequirements2(ptr ptr ptr) winevulkan.vkGetImageMemoryRequirements2
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* This file is generated from Vulkan vk.xml file covered * This file is generated from Vulkan vk.xml file covered
* by the following copyright and permission notice: * by the following copyright and permission notice:
* *
* Copyright 2015-2022 The Khronos Group Inc. * Copyright 2015-2023 The Khronos Group Inc.
* *
* SPDX-License-Identifier: Apache-2.0 OR MIT * SPDX-License-Identifier: Apache-2.0 OR MIT
* *
...@@ -1726,6 +1726,22 @@ void WINAPI vkCmdSetDiscardRectangleEXT(VkCommandBuffer commandBuffer, uint32_t ...@@ -1726,6 +1726,22 @@ void WINAPI vkCmdSetDiscardRectangleEXT(VkCommandBuffer commandBuffer, uint32_t
UNIX_CALL(vkCmdSetDiscardRectangleEXT, &params); UNIX_CALL(vkCmdSetDiscardRectangleEXT, &params);
} }
void WINAPI vkCmdSetDiscardRectangleEnableEXT(VkCommandBuffer commandBuffer, VkBool32 discardRectangleEnable)
{
struct vkCmdSetDiscardRectangleEnableEXT_params params;
params.commandBuffer = commandBuffer;
params.discardRectangleEnable = discardRectangleEnable;
UNIX_CALL(vkCmdSetDiscardRectangleEnableEXT, &params);
}
void WINAPI vkCmdSetDiscardRectangleModeEXT(VkCommandBuffer commandBuffer, VkDiscardRectangleModeEXT discardRectangleMode)
{
struct vkCmdSetDiscardRectangleModeEXT_params params;
params.commandBuffer = commandBuffer;
params.discardRectangleMode = discardRectangleMode;
UNIX_CALL(vkCmdSetDiscardRectangleModeEXT, &params);
}
void WINAPI vkCmdSetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask) void WINAPI vkCmdSetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
{ {
struct vkCmdSetEvent_params params; struct vkCmdSetEvent_params params;
...@@ -1753,6 +1769,16 @@ void WINAPI vkCmdSetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, cons ...@@ -1753,6 +1769,16 @@ void WINAPI vkCmdSetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, cons
UNIX_CALL(vkCmdSetEvent2KHR, &params); UNIX_CALL(vkCmdSetEvent2KHR, &params);
} }
void WINAPI vkCmdSetExclusiveScissorEnableNV(VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkBool32 *pExclusiveScissorEnables)
{
struct vkCmdSetExclusiveScissorEnableNV_params params;
params.commandBuffer = commandBuffer;
params.firstExclusiveScissor = firstExclusiveScissor;
params.exclusiveScissorCount = exclusiveScissorCount;
params.pExclusiveScissorEnables = pExclusiveScissorEnables;
UNIX_CALL(vkCmdSetExclusiveScissorEnableNV, &params);
}
void WINAPI vkCmdSetExclusiveScissorNV(VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkRect2D *pExclusiveScissors) void WINAPI vkCmdSetExclusiveScissorNV(VkCommandBuffer commandBuffer, uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const VkRect2D *pExclusiveScissors)
{ {
struct vkCmdSetExclusiveScissorNV_params params; struct vkCmdSetExclusiveScissorNV_params params;
...@@ -5856,9 +5882,12 @@ static const struct vulkan_func vk_device_dispatch_table[] = ...@@ -5856,9 +5882,12 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{"vkCmdSetDeviceMask", vkCmdSetDeviceMask}, {"vkCmdSetDeviceMask", vkCmdSetDeviceMask},
{"vkCmdSetDeviceMaskKHR", vkCmdSetDeviceMaskKHR}, {"vkCmdSetDeviceMaskKHR", vkCmdSetDeviceMaskKHR},
{"vkCmdSetDiscardRectangleEXT", vkCmdSetDiscardRectangleEXT}, {"vkCmdSetDiscardRectangleEXT", vkCmdSetDiscardRectangleEXT},
{"vkCmdSetDiscardRectangleEnableEXT", vkCmdSetDiscardRectangleEnableEXT},
{"vkCmdSetDiscardRectangleModeEXT", vkCmdSetDiscardRectangleModeEXT},
{"vkCmdSetEvent", vkCmdSetEvent}, {"vkCmdSetEvent", vkCmdSetEvent},
{"vkCmdSetEvent2", vkCmdSetEvent2}, {"vkCmdSetEvent2", vkCmdSetEvent2},
{"vkCmdSetEvent2KHR", vkCmdSetEvent2KHR}, {"vkCmdSetEvent2KHR", vkCmdSetEvent2KHR},
{"vkCmdSetExclusiveScissorEnableNV", vkCmdSetExclusiveScissorEnableNV},
{"vkCmdSetExclusiveScissorNV", vkCmdSetExclusiveScissorNV}, {"vkCmdSetExclusiveScissorNV", vkCmdSetExclusiveScissorNV},
{"vkCmdSetExtraPrimitiveOverestimationSizeEXT", vkCmdSetExtraPrimitiveOverestimationSizeEXT}, {"vkCmdSetExtraPrimitiveOverestimationSizeEXT", vkCmdSetExtraPrimitiveOverestimationSizeEXT},
{"vkCmdSetFragmentShadingRateEnumNV", vkCmdSetFragmentShadingRateEnumNV}, {"vkCmdSetFragmentShadingRateEnumNV", vkCmdSetFragmentShadingRateEnumNV},
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* This file is generated from Vulkan vk.xml file covered * This file is generated from Vulkan vk.xml file covered
* by the following copyright and permission notice: * by the following copyright and permission notice:
* *
* Copyright 2015-2022 The Khronos Group Inc. * Copyright 2015-2023 The Khronos Group Inc.
* *
* SPDX-License-Identifier: Apache-2.0 OR MIT * SPDX-License-Identifier: Apache-2.0 OR MIT
* *
...@@ -190,9 +190,12 @@ enum unix_call ...@@ -190,9 +190,12 @@ enum unix_call
unix_vkCmdSetDeviceMask, unix_vkCmdSetDeviceMask,
unix_vkCmdSetDeviceMaskKHR, unix_vkCmdSetDeviceMaskKHR,
unix_vkCmdSetDiscardRectangleEXT, unix_vkCmdSetDiscardRectangleEXT,
unix_vkCmdSetDiscardRectangleEnableEXT,
unix_vkCmdSetDiscardRectangleModeEXT,
unix_vkCmdSetEvent, unix_vkCmdSetEvent,
unix_vkCmdSetEvent2, unix_vkCmdSetEvent2,
unix_vkCmdSetEvent2KHR, unix_vkCmdSetEvent2KHR,
unix_vkCmdSetExclusiveScissorEnableNV,
unix_vkCmdSetExclusiveScissorNV, unix_vkCmdSetExclusiveScissorNV,
unix_vkCmdSetExtraPrimitiveOverestimationSizeEXT, unix_vkCmdSetExtraPrimitiveOverestimationSizeEXT,
unix_vkCmdSetFragmentShadingRateEnumNV, unix_vkCmdSetFragmentShadingRateEnumNV,
...@@ -1893,6 +1896,18 @@ struct vkCmdSetDiscardRectangleEXT_params ...@@ -1893,6 +1896,18 @@ struct vkCmdSetDiscardRectangleEXT_params
const VkRect2D *pDiscardRectangles; const VkRect2D *pDiscardRectangles;
}; };
struct vkCmdSetDiscardRectangleEnableEXT_params
{
VkCommandBuffer commandBuffer;
VkBool32 discardRectangleEnable;
};
struct vkCmdSetDiscardRectangleModeEXT_params
{
VkCommandBuffer commandBuffer;
VkDiscardRectangleModeEXT discardRectangleMode;
};
struct vkCmdSetEvent_params struct vkCmdSetEvent_params
{ {
VkCommandBuffer commandBuffer; VkCommandBuffer commandBuffer;
...@@ -1914,6 +1929,14 @@ struct vkCmdSetEvent2KHR_params ...@@ -1914,6 +1929,14 @@ struct vkCmdSetEvent2KHR_params
const VkDependencyInfo *pDependencyInfo; const VkDependencyInfo *pDependencyInfo;
}; };
struct vkCmdSetExclusiveScissorEnableNV_params
{
VkCommandBuffer commandBuffer;
uint32_t firstExclusiveScissor;
uint32_t exclusiveScissorCount;
const VkBool32 *pExclusiveScissorEnables;
};
struct vkCmdSetExclusiveScissorNV_params struct vkCmdSetExclusiveScissorNV_params
{ {
VkCommandBuffer commandBuffer; VkCommandBuffer commandBuffer;
......
...@@ -65,7 +65,7 @@ from enum import Enum ...@@ -65,7 +65,7 @@ from enum import Enum
LOGGER = logging.Logger("vulkan") LOGGER = logging.Logger("vulkan")
LOGGER.addHandler(logging.StreamHandler()) LOGGER.addHandler(logging.StreamHandler())
VK_XML_VERSION = "1.3.240" VK_XML_VERSION = "1.3.242"
WINE_VK_VERSION = (1, 3) WINE_VK_VERSION = (1, 3)
# Filenames to create. # Filenames to create.
...@@ -1713,7 +1713,7 @@ class VkParam(VkVariable): ...@@ -1713,7 +1713,7 @@ class VkParam(VkVariable):
self.format_conv = "wine_dbgstr_longlong({0})" self.format_conv = "wine_dbgstr_longlong({0})"
elif self.type == "HANDLE": elif self.type == "HANDLE":
self.format_str = "%p" self.format_str = "%p"
elif self.type in ["VisualID", "xcb_visualid_t", "RROutput", "zx_handle_t"]: elif self.type in ["VisualID", "xcb_visualid_t", "RROutput", "zx_handle_t", "NvSciBufObj", "NvSciBufAttrList", "NvSciSyncAttrList"]:
# Don't care about specific types for non-Windows platforms. # Don't care about specific types for non-Windows platforms.
self.format_str = "" self.format_str = ""
else: else:
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* This file is generated from Vulkan vk.xml file covered * This file is generated from Vulkan vk.xml file covered
* by the following copyright and permission notice: * by the following copyright and permission notice:
* *
* Copyright 2015-2022 The Khronos Group Inc. * Copyright 2015-2023 The Khronos Group Inc.
* *
* SPDX-License-Identifier: Apache-2.0 OR MIT * SPDX-License-Identifier: Apache-2.0 OR MIT
* *
...@@ -233,9 +233,12 @@ struct vulkan_device_funcs ...@@ -233,9 +233,12 @@ struct vulkan_device_funcs
void (*p_vkCmdSetDeviceMask)(VkCommandBuffer, uint32_t); void (*p_vkCmdSetDeviceMask)(VkCommandBuffer, uint32_t);
void (*p_vkCmdSetDeviceMaskKHR)(VkCommandBuffer, uint32_t); void (*p_vkCmdSetDeviceMaskKHR)(VkCommandBuffer, uint32_t);
void (*p_vkCmdSetDiscardRectangleEXT)(VkCommandBuffer, uint32_t, uint32_t, const VkRect2D *); void (*p_vkCmdSetDiscardRectangleEXT)(VkCommandBuffer, uint32_t, uint32_t, const VkRect2D *);
void (*p_vkCmdSetDiscardRectangleEnableEXT)(VkCommandBuffer, VkBool32);
void (*p_vkCmdSetDiscardRectangleModeEXT)(VkCommandBuffer, VkDiscardRectangleModeEXT);
void (*p_vkCmdSetEvent)(VkCommandBuffer, VkEvent, VkPipelineStageFlags); void (*p_vkCmdSetEvent)(VkCommandBuffer, VkEvent, VkPipelineStageFlags);
void (*p_vkCmdSetEvent2)(VkCommandBuffer, VkEvent, const VkDependencyInfo *); void (*p_vkCmdSetEvent2)(VkCommandBuffer, VkEvent, const VkDependencyInfo *);
void (*p_vkCmdSetEvent2KHR)(VkCommandBuffer, VkEvent, const VkDependencyInfo *); void (*p_vkCmdSetEvent2KHR)(VkCommandBuffer, VkEvent, const VkDependencyInfo *);
void (*p_vkCmdSetExclusiveScissorEnableNV)(VkCommandBuffer, uint32_t, uint32_t, const VkBool32 *);
void (*p_vkCmdSetExclusiveScissorNV)(VkCommandBuffer, uint32_t, uint32_t, const VkRect2D *); void (*p_vkCmdSetExclusiveScissorNV)(VkCommandBuffer, uint32_t, uint32_t, const VkRect2D *);
void (*p_vkCmdSetExtraPrimitiveOverestimationSizeEXT)(VkCommandBuffer, float); void (*p_vkCmdSetExtraPrimitiveOverestimationSizeEXT)(VkCommandBuffer, float);
void (*p_vkCmdSetFragmentShadingRateEnumNV)(VkCommandBuffer, VkFragmentShadingRateNV, const VkFragmentShadingRateCombinerOpKHR[2]); void (*p_vkCmdSetFragmentShadingRateEnumNV)(VkCommandBuffer, VkFragmentShadingRateNV, const VkFragmentShadingRateCombinerOpKHR[2]);
...@@ -761,9 +764,12 @@ struct vulkan_instance_funcs ...@@ -761,9 +764,12 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkCmdSetDeviceMask) \ USE_VK_FUNC(vkCmdSetDeviceMask) \
USE_VK_FUNC(vkCmdSetDeviceMaskKHR) \ USE_VK_FUNC(vkCmdSetDeviceMaskKHR) \
USE_VK_FUNC(vkCmdSetDiscardRectangleEXT) \ USE_VK_FUNC(vkCmdSetDiscardRectangleEXT) \
USE_VK_FUNC(vkCmdSetDiscardRectangleEnableEXT) \
USE_VK_FUNC(vkCmdSetDiscardRectangleModeEXT) \
USE_VK_FUNC(vkCmdSetEvent) \ USE_VK_FUNC(vkCmdSetEvent) \
USE_VK_FUNC(vkCmdSetEvent2) \ USE_VK_FUNC(vkCmdSetEvent2) \
USE_VK_FUNC(vkCmdSetEvent2KHR) \ USE_VK_FUNC(vkCmdSetEvent2KHR) \
USE_VK_FUNC(vkCmdSetExclusiveScissorEnableNV) \
USE_VK_FUNC(vkCmdSetExclusiveScissorNV) \ USE_VK_FUNC(vkCmdSetExclusiveScissorNV) \
USE_VK_FUNC(vkCmdSetExtraPrimitiveOverestimationSizeEXT) \ USE_VK_FUNC(vkCmdSetExtraPrimitiveOverestimationSizeEXT) \
USE_VK_FUNC(vkCmdSetFragmentShadingRateEnumNV) \ USE_VK_FUNC(vkCmdSetFragmentShadingRateEnumNV) \
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
"file_format_version": "1.0.0", "file_format_version": "1.0.0",
"ICD": { "ICD": {
"library_path": ".\\winevulkan.dll", "library_path": ".\\winevulkan.dll",
"api_version": "1.3.240" "api_version": "1.3.242"
} }
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# This file is generated from Vulkan vk.xml file covered # This file is generated from Vulkan vk.xml file covered
# by the following copyright and permission notice: # by the following copyright and permission notice:
# #
# Copyright 2015-2022 The Khronos Group Inc. # Copyright 2015-2023 The Khronos Group Inc.
# #
# SPDX-License-Identifier: Apache-2.0 OR MIT # SPDX-License-Identifier: Apache-2.0 OR MIT
# #
...@@ -172,6 +172,7 @@ ...@@ -172,6 +172,7 @@
@ stdcall vkGetBufferMemoryRequirements(ptr int64 ptr) @ stdcall vkGetBufferMemoryRequirements(ptr int64 ptr)
@ stdcall vkGetBufferMemoryRequirements2(ptr ptr ptr) @ stdcall vkGetBufferMemoryRequirements2(ptr ptr ptr)
@ stdcall vkGetBufferOpaqueCaptureAddress(ptr ptr) @ stdcall vkGetBufferOpaqueCaptureAddress(ptr ptr)
@ stub vkGetCommandPoolMemoryConsumption
@ stdcall vkGetDescriptorSetLayoutSupport(ptr ptr ptr) @ stdcall vkGetDescriptorSetLayoutSupport(ptr ptr ptr)
@ stdcall vkGetDeviceBufferMemoryRequirements(ptr ptr ptr) @ stdcall vkGetDeviceBufferMemoryRequirements(ptr ptr ptr)
@ stdcall vkGetDeviceGroupPeerMemoryFeatures(ptr long long long ptr) @ stdcall vkGetDeviceGroupPeerMemoryFeatures(ptr long long long ptr)
...@@ -188,6 +189,7 @@ ...@@ -188,6 +189,7 @@
@ stub vkGetDisplayPlaneCapabilitiesKHR @ stub vkGetDisplayPlaneCapabilitiesKHR
@ stub vkGetDisplayPlaneSupportedDisplaysKHR @ stub vkGetDisplayPlaneSupportedDisplaysKHR
@ stdcall vkGetEventStatus(ptr int64) @ stdcall vkGetEventStatus(ptr int64)
@ stub vkGetFaultData
@ stdcall vkGetFenceStatus(ptr int64) @ stdcall vkGetFenceStatus(ptr int64)
@ stdcall vkGetImageMemoryRequirements(ptr int64 ptr) @ stdcall vkGetImageMemoryRequirements(ptr int64 ptr)
@ stdcall vkGetImageMemoryRequirements2(ptr ptr ptr) @ stdcall vkGetImageMemoryRequirements2(ptr ptr ptr)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* This file is generated from Vulkan vk.xml file covered * This file is generated from Vulkan vk.xml file covered
* by the following copyright and permission notice: * by the following copyright and permission notice:
* *
* Copyright 2015-2022 The Khronos Group Inc. * Copyright 2015-2023 The Khronos Group Inc.
* *
* SPDX-License-Identifier: Apache-2.0 OR MIT * SPDX-License-Identifier: Apache-2.0 OR MIT
* *
......
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