Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7eb75124
Commit
7eb75124
authored
Jun 16, 2023
by
Georg Lehmann
Committed by
Alexandre Julliard
Jun 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Update to VK spec version 1.3.254.
parent
330827a0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
77 additions
and
3 deletions
+77
-3
loader_thunks.c
dlls/winevulkan/loader_thunks.c
+9
-0
loader_thunks.h
dlls/winevulkan/loader_thunks.h
+7
-0
make_vulkan
dlls/winevulkan/make_vulkan
+1
-1
vulkan_thunks.c
dlls/winevulkan/vulkan_thunks.c
+0
-0
vulkan_thunks.h
dlls/winevulkan/vulkan_thunks.h
+2
-0
winevulkan.json
dlls/winevulkan/winevulkan.json
+1
-1
vulkan.h
include/wine/vulkan.h
+57
-1
No files found.
dlls/winevulkan/loader_thunks.c
View file @
7eb75124
...
...
@@ -1592,6 +1592,14 @@ void WINAPI vkCmdSetDepthBias(VkCommandBuffer commandBuffer, float depthBiasCons
UNIX_CALL
(
vkCmdSetDepthBias
,
&
params
);
}
void
WINAPI
vkCmdSetDepthBias2EXT
(
VkCommandBuffer
commandBuffer
,
const
VkDepthBiasInfoEXT
*
pDepthBiasInfo
)
{
struct
vkCmdSetDepthBias2EXT_params
params
;
params
.
commandBuffer
=
commandBuffer
;
params
.
pDepthBiasInfo
=
pDepthBiasInfo
;
UNIX_CALL
(
vkCmdSetDepthBias2EXT
,
&
params
);
}
void
WINAPI
vkCmdSetDepthBiasEnable
(
VkCommandBuffer
commandBuffer
,
VkBool32
depthBiasEnable
)
{
struct
vkCmdSetDepthBiasEnable_params
params
;
...
...
@@ -5945,6 +5953,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{
"vkCmdSetCullMode"
,
vkCmdSetCullMode
},
{
"vkCmdSetCullModeEXT"
,
vkCmdSetCullModeEXT
},
{
"vkCmdSetDepthBias"
,
vkCmdSetDepthBias
},
{
"vkCmdSetDepthBias2EXT"
,
vkCmdSetDepthBias2EXT
},
{
"vkCmdSetDepthBiasEnable"
,
vkCmdSetDepthBiasEnable
},
{
"vkCmdSetDepthBiasEnableEXT"
,
vkCmdSetDepthBiasEnableEXT
},
{
"vkCmdSetDepthBounds"
,
vkCmdSetDepthBounds
},
...
...
dlls/winevulkan/loader_thunks.h
View file @
7eb75124
...
...
@@ -174,6 +174,7 @@ enum unix_call
unix_vkCmdSetCullMode
,
unix_vkCmdSetCullModeEXT
,
unix_vkCmdSetDepthBias
,
unix_vkCmdSetDepthBias2EXT
,
unix_vkCmdSetDepthBiasEnable
,
unix_vkCmdSetDepthBiasEnableEXT
,
unix_vkCmdSetDepthBounds
,
...
...
@@ -1801,6 +1802,12 @@ struct vkCmdSetDepthBias_params
float
depthBiasSlopeFactor
;
};
struct
vkCmdSetDepthBias2EXT_params
{
VkCommandBuffer
commandBuffer
;
const
VkDepthBiasInfoEXT
*
pDepthBiasInfo
;
};
struct
vkCmdSetDepthBiasEnable_params
{
VkCommandBuffer
commandBuffer
;
...
...
dlls/winevulkan/make_vulkan
View file @
7eb75124
...
...
@@ -65,7 +65,7 @@ from enum import Enum
LOGGER
=
logging
.
Logger
(
"vulkan"
)
LOGGER
.
addHandler
(
logging
.
StreamHandler
())
VK_XML_VERSION
=
"1.3.25
1
"
VK_XML_VERSION
=
"1.3.25
4
"
WINE_VK_VERSION
=
(
1
,
3
)
# Filenames to create.
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
7eb75124
This diff is collapsed.
Click to expand it.
dlls/winevulkan/vulkan_thunks.h
View file @
7eb75124
...
...
@@ -219,6 +219,7 @@ struct vulkan_device_funcs
void
(
*
p_vkCmdSetCullMode
)(
VkCommandBuffer
,
VkCullModeFlags
);
void
(
*
p_vkCmdSetCullModeEXT
)(
VkCommandBuffer
,
VkCullModeFlags
);
void
(
*
p_vkCmdSetDepthBias
)(
VkCommandBuffer
,
float
,
float
,
float
);
void
(
*
p_vkCmdSetDepthBias2EXT
)(
VkCommandBuffer
,
const
VkDepthBiasInfoEXT
*
);
void
(
*
p_vkCmdSetDepthBiasEnable
)(
VkCommandBuffer
,
VkBool32
);
void
(
*
p_vkCmdSetDepthBiasEnableEXT
)(
VkCommandBuffer
,
VkBool32
);
void
(
*
p_vkCmdSetDepthBounds
)(
VkCommandBuffer
,
float
,
float
);
...
...
@@ -757,6 +758,7 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkCmdSetCullMode) \
USE_VK_FUNC(vkCmdSetCullModeEXT) \
USE_VK_FUNC(vkCmdSetDepthBias) \
USE_VK_FUNC(vkCmdSetDepthBias2EXT) \
USE_VK_FUNC(vkCmdSetDepthBiasEnable) \
USE_VK_FUNC(vkCmdSetDepthBiasEnableEXT) \
USE_VK_FUNC(vkCmdSetDepthBounds) \
...
...
dlls/winevulkan/winevulkan.json
View file @
7eb75124
...
...
@@ -2,6 +2,6 @@
"file_format_version"
:
"1.0.0"
,
"ICD"
:
{
"library_path"
:
".
\\
winevulkan.dll"
,
"api_version"
:
"1.3.25
1
"
"api_version"
:
"1.3.25
4
"
}
}
include/wine/vulkan.h
View file @
7eb75124
...
...
@@ -423,6 +423,8 @@
#define VK_EXT_TEXEL_BUFFER_ALIGNMENT_EXTENSION_NAME "VK_EXT_texel_buffer_alignment"
#define VK_QCOM_RENDER_PASS_TRANSFORM_SPEC_VERSION 3
#define VK_QCOM_RENDER_PASS_TRANSFORM_EXTENSION_NAME "VK_QCOM_render_pass_transform"
#define VK_EXT_DEPTH_BIAS_CONTROL_SPEC_VERSION 1
#define VK_EXT_DEPTH_BIAS_CONTROL_EXTENSION_NAME "VK_EXT_depth_bias_control"
#define VK_EXT_ROBUSTNESS_2_SPEC_VERSION 1
#define VK_EXT_ROBUSTNESS_2_EXTENSION_NAME "VK_EXT_robustness2"
#define VK_EXT_CUSTOM_BORDER_COLOR_SPEC_VERSION 12
...
...
@@ -563,6 +565,8 @@
#define VK_EXT_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_EXTENSION_NAME "VK_EXT_image_compression_control_swapchain"
#define VK_QCOM_IMAGE_PROCESSING_SPEC_VERSION 1
#define VK_QCOM_IMAGE_PROCESSING_EXTENSION_NAME "VK_QCOM_image_processing"
#define VK_EXT_EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_SPEC_VERSION 1
#define VK_EXT_EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_EXTENSION_NAME "VK_EXT_external_memory_acquire_unmodified"
#define VK_EXT_EXTENDED_DYNAMIC_STATE_3_SPEC_VERSION 2
#define VK_EXT_EXTENDED_DYNAMIC_STATE_3_EXTENSION_NAME "VK_EXT_extended_dynamic_state3"
#define VK_EXT_SUBPASS_MERGE_FEEDBACK_SPEC_VERSION 2
...
...
@@ -625,7 +629,7 @@
#define VK_API_VERSION_1_2 VK_MAKE_API_VERSION(0, 1, 2, 0)
#define VK_API_VERSION_1_3 VK_MAKE_API_VERSION(0, 1, 3, 0)
#define VKSC_API_VERSION_1_0 VK_MAKE_API_VERSION(VKSC_API_VARIANT, 1, 0, 0)
#define VK_HEADER_VERSION 25
1
#define VK_HEADER_VERSION 25
4
#define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 3, VK_HEADER_VERSION)
#define VK_DEFINE_HANDLE(object) typedef struct object##_T* object;
#define VK_USE_64_BIT_PTR_DEFINES 0
...
...
@@ -911,8 +915,12 @@ typedef VkFlags VkVideoEncodeContentFlagsKHR;
typedef
VkFlags
VkVideoEncodeFeedbackFlagsKHR
;
typedef
VkFlags
VkVideoEncodeFlagsKHR
;
typedef
VkFlags
VkVideoEncodeH264CapabilityFlagsEXT
;
typedef
VkFlags
VkVideoEncodeH264RateControlFlagsEXT
;
typedef
VkFlags
VkVideoEncodeH264StdFlagsEXT
;
typedef
VkFlags
VkVideoEncodeH265CapabilityFlagsEXT
;
typedef
VkFlags
VkVideoEncodeH265CtbSizeFlagsEXT
;
typedef
VkFlags
VkVideoEncodeH265RateControlFlagsEXT
;
typedef
VkFlags
VkVideoEncodeH265StdFlagsEXT
;
typedef
VkFlags
VkVideoEncodeH265TransformBlockSizeFlagsEXT
;
typedef
VkFlags
VkVideoEncodeRateControlFlagsKHR
;
typedef
VkFlags
VkVideoEncodeRateControlModeFlagsKHR
;
...
...
@@ -1577,6 +1585,14 @@ typedef enum VkDependencyFlagBits
VK_DEPENDENCY_FLAG_BITS_MAX_ENUM
=
0x7fffffff
,
}
VkDependencyFlagBits
;
typedef
enum
VkDepthBiasRepresentationEXT
{
VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT
=
0
,
VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT
=
1
,
VK_DEPTH_BIAS_REPRESENTATION_FLOAT_EXT
=
2
,
VK_DEPTH_BIAS_REPRESENTATION_EXT_MAX_ENUM
=
0x7fffffff
,
}
VkDepthBiasRepresentationEXT
;
typedef
enum
VkDescriptorBindingFlagBits
{
VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT
=
0x00000001
,
...
...
@@ -4193,6 +4209,9 @@ typedef enum VkStructureType
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES
=
1000281001
,
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM
=
1000282000
,
VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM
=
1000282001
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT
=
1000283000
,
VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT
=
1000283001
,
VK_STRUCTURE_TYPE_DEPTH_BIAS_REPRESENTATION_INFO_EXT
=
1000283002
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_EXT
=
1000286000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_EXT
=
1000286001
,
VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT
=
1000287000
,
...
...
@@ -4354,6 +4373,7 @@ typedef enum VkStructureType
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM
=
1000440000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_PROPERTIES_QCOM
=
1000440001
,
VK_STRUCTURE_TYPE_IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM
=
1000440002
,
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_EXT
=
1000453000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT
=
1000455000
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_PROPERTIES_EXT
=
1000455001
,
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT
=
1000458000
,
...
...
@@ -5564,6 +5584,23 @@ typedef struct VkDedicatedAllocationMemoryAllocateInfoNV
VkBuffer
WINE_VK_ALIGN
(
8
)
buffer
;
}
VkDedicatedAllocationMemoryAllocateInfoNV
;
typedef
struct
VkDepthBiasInfoEXT
{
VkStructureType
sType
;
const
void
*
pNext
;
float
depthBiasConstantFactor
;
float
depthBiasClamp
;
float
depthBiasSlopeFactor
;
}
VkDepthBiasInfoEXT
;
typedef
struct
VkDepthBiasRepresentationInfoEXT
{
VkStructureType
sType
;
const
void
*
pNext
;
VkDepthBiasRepresentationEXT
depthBiasRepresentation
;
VkBool32
depthBiasExact
;
}
VkDepthBiasRepresentationInfoEXT
;
typedef
struct
VkDescriptorAddressInfoEXT
{
VkStructureType
sType
;
...
...
@@ -5998,6 +6035,13 @@ typedef struct VkExternalFenceProperties
}
VkExternalFenceProperties
;
typedef
VkExternalFenceProperties
VkExternalFencePropertiesKHR
;
typedef
struct
VkExternalMemoryAcquireUnmodifiedEXT
{
VkStructureType
sType
;
const
void
*
pNext
;
VkBool32
acquireUnmodifiedMemory
;
}
VkExternalMemoryAcquireUnmodifiedEXT
;
typedef
struct
VkExternalMemoryBufferCreateInfo
{
VkStructureType
sType
;
...
...
@@ -7087,6 +7131,16 @@ typedef struct VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
VkBool32
dedicatedAllocationImageAliasing
;
}
VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV
;
typedef
struct
VkPhysicalDeviceDepthBiasControlFeaturesEXT
{
VkStructureType
sType
;
void
*
pNext
;
VkBool32
depthBiasControl
;
VkBool32
leastRepresentableValueForceUnormRepresentation
;
VkBool32
floatRepresentation
;
VkBool32
depthBiasExact
;
}
VkPhysicalDeviceDepthBiasControlFeaturesEXT
;
typedef
struct
VkPhysicalDeviceDepthClampZeroOneFeaturesEXT
{
VkStructureType
sType
;
...
...
@@ -11998,6 +12052,7 @@ typedef void (VKAPI_PTR *PFN_vkCmdSetCoverageToColorLocationNV)(VkCommandBuffer,
typedef
void
(
VKAPI_PTR
*
PFN_vkCmdSetCullMode
)(
VkCommandBuffer
,
VkCullModeFlags
);
typedef
void
(
VKAPI_PTR
*
PFN_vkCmdSetCullModeEXT
)(
VkCommandBuffer
,
VkCullModeFlags
);
typedef
void
(
VKAPI_PTR
*
PFN_vkCmdSetDepthBias
)(
VkCommandBuffer
,
float
,
float
,
float
);
typedef
void
(
VKAPI_PTR
*
PFN_vkCmdSetDepthBias2EXT
)(
VkCommandBuffer
,
const
VkDepthBiasInfoEXT
*
);
typedef
void
(
VKAPI_PTR
*
PFN_vkCmdSetDepthBiasEnable
)(
VkCommandBuffer
,
VkBool32
);
typedef
void
(
VKAPI_PTR
*
PFN_vkCmdSetDepthBiasEnableEXT
)(
VkCommandBuffer
,
VkBool32
);
typedef
void
(
VKAPI_PTR
*
PFN_vkCmdSetDepthBounds
)(
VkCommandBuffer
,
float
,
float
);
...
...
@@ -12545,6 +12600,7 @@ void VKAPI_CALL vkCmdSetCoverageToColorLocationNV(VkCommandBuffer commandBuffer,
void
VKAPI_CALL
vkCmdSetCullMode
(
VkCommandBuffer
commandBuffer
,
VkCullModeFlags
cullMode
);
void
VKAPI_CALL
vkCmdSetCullModeEXT
(
VkCommandBuffer
commandBuffer
,
VkCullModeFlags
cullMode
);
void
VKAPI_CALL
vkCmdSetDepthBias
(
VkCommandBuffer
commandBuffer
,
float
depthBiasConstantFactor
,
float
depthBiasClamp
,
float
depthBiasSlopeFactor
);
void
VKAPI_CALL
vkCmdSetDepthBias2EXT
(
VkCommandBuffer
commandBuffer
,
const
VkDepthBiasInfoEXT
*
pDepthBiasInfo
);
void
VKAPI_CALL
vkCmdSetDepthBiasEnable
(
VkCommandBuffer
commandBuffer
,
VkBool32
depthBiasEnable
);
void
VKAPI_CALL
vkCmdSetDepthBiasEnableEXT
(
VkCommandBuffer
commandBuffer
,
VkBool32
depthBiasEnable
);
void
VKAPI_CALL
vkCmdSetDepthBounds
(
VkCommandBuffer
commandBuffer
,
float
minDepthBounds
,
float
maxDepthBounds
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment