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
b5e19a33
Commit
b5e19a33
authored
Jul 22, 2023
by
Georg Lehmann
Committed by
Alexandre Julliard
Jul 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Update to VK spec version 1.3.259.
parent
330ef7a1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
112 additions
and
6 deletions
+112
-6
loader_thunks.c
dlls/winevulkan/loader_thunks.c
+34
-0
loader_thunks.h
dlls/winevulkan/loader_thunks.h
+24
-0
make_vulkan
dlls/winevulkan/make_vulkan
+1
-4
vulkan_thunks.c
dlls/winevulkan/vulkan_thunks.c
+0
-0
vulkan_thunks.h
dlls/winevulkan/vulkan_thunks.h
+6
-0
winevulkan.json
dlls/winevulkan/winevulkan.json
+1
-1
vulkan.h
include/wine/vulkan.h
+46
-1
No files found.
dlls/winevulkan/loader_thunks.c
View file @
b5e19a33
...
...
@@ -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
},
...
...
dlls/winevulkan/loader_thunks.h
View file @
b5e19a33
...
...
@@ -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
;
...
...
dlls/winevulkan/make_vulkan
View file @
b5e19a33
...
...
@@ -65,7 +65,7 @@ from enum import Enum
LOGGER
=
logging
.
Logger
(
"vulkan"
)
LOGGER
.
addHandler
(
logging
.
StreamHandler
())
VK_XML_VERSION
=
"1.3.25
8
"
VK_XML_VERSION
=
"1.3.25
9
"
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
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
b5e19a33
This diff is collapsed.
Click to expand it.
dlls/winevulkan/vulkan_thunks.h
View file @
b5e19a33
...
...
@@ -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) \
...
...
dlls/winevulkan/winevulkan.json
View file @
b5e19a33
...
...
@@ -2,6 +2,6 @@
"file_format_version"
:
"1.0.0"
,
"ICD"
:
{
"library_path"
:
".
\\
winevulkan.dll"
,
"api_version"
:
"1.3.25
8
"
"api_version"
:
"1.3.25
9
"
}
}
include/wine/vulkan.h
View file @
b5e19a33
This diff is collapsed.
Click to expand it.
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