Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7a2cee7a
Commit
7a2cee7a
authored
Dec 07, 2023
by
Georg Lehmann
Committed by
Alexandre Julliard
Dec 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Update to VK spec version 1.3.272.
parent
1941a915
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
145 additions
and
6 deletions
+145
-6
loader_thunks.c
dlls/winevulkan/loader_thunks.c
+76
-2
loader_thunks.h
dlls/winevulkan/loader_thunks.h
+53
-1
make_vulkan
dlls/winevulkan/make_vulkan
+2
-1
vulkan_thunks.c
dlls/winevulkan/vulkan_thunks.c
+0
-0
vulkan_thunks.h
dlls/winevulkan/vulkan_thunks.h
+13
-1
winevulkan.json
dlls/winevulkan/winevulkan.json
+1
-1
vulkan.h
include/wine/vulkan.h
+0
-0
No files found.
dlls/winevulkan/loader_thunks.c
View file @
7a2cee7a
...
@@ -793,6 +793,14 @@ void WINAPI vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, const VkCuLaun
...
@@ -793,6 +793,14 @@ void WINAPI vkCmdCuLaunchKernelNVX(VkCommandBuffer commandBuffer, const VkCuLaun
UNIX_CALL
(
vkCmdCuLaunchKernelNVX
,
&
params
);
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
)
void
WINAPI
vkCmdDebugMarkerBeginEXT
(
VkCommandBuffer
commandBuffer
,
const
VkDebugMarkerMarkerInfoEXT
*
pMarkerInfo
)
{
{
struct
vkCmdDebugMarkerBeginEXT_params
params
;
struct
vkCmdDebugMarkerBeginEXT_params
params
;
...
@@ -2684,6 +2692,32 @@ VkResult WINAPI vkCreateCuModuleNVX(VkDevice device, const VkCuModuleCreateInfoN
...
@@ -2684,6 +2692,32 @@ VkResult WINAPI vkCreateCuModuleNVX(VkDevice device, const VkCuModuleCreateInfoN
return
params
.
result
;
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
)
VkResult
WINAPI
vkCreateDebugReportCallbackEXT
(
VkInstance
instance
,
const
VkDebugReportCallbackCreateInfoEXT
*
pCreateInfo
,
const
VkAllocationCallbacks
*
pAllocator
,
VkDebugReportCallbackEXT
*
pCallback
)
{
{
struct
vkCreateDebugReportCallbackEXT_params
params
;
struct
vkCreateDebugReportCallbackEXT_params
params
;
...
@@ -3261,6 +3295,28 @@ void WINAPI vkDestroyCuModuleNVX(VkDevice device, VkCuModuleNVX module, const Vk
...
@@ -3261,6 +3295,28 @@ void WINAPI vkDestroyCuModuleNVX(VkDevice device, VkCuModuleNVX module, const Vk
assert
(
!
status
&&
"vkDestroyCuModuleNVX"
);
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
)
void
WINAPI
vkDestroyDebugReportCallbackEXT
(
VkInstance
instance
,
VkDebugReportCallbackEXT
callback
,
const
VkAllocationCallbacks
*
pAllocator
)
{
{
struct
vkDestroyDebugReportCallbackEXT_params
params
;
struct
vkDestroyDebugReportCallbackEXT_params
params
;
...
@@ -3907,6 +3963,19 @@ VkResult WINAPI vkGetCalibratedTimestampsEXT(VkDevice device, uint32_t timestamp
...
@@ -3907,6 +3963,19 @@ VkResult WINAPI vkGetCalibratedTimestampsEXT(VkDevice device, uint32_t timestamp
return
params
.
result
;
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
)
uint32_t
WINAPI
vkGetDeferredOperationMaxConcurrencyKHR
(
VkDevice
device
,
VkDeferredOperationKHR
operation
)
{
{
struct
vkGetDeferredOperationMaxConcurrencyKHR_params
params
;
struct
vkGetDeferredOperationMaxConcurrencyKHR_params
params
;
...
@@ -4446,13 +4515,12 @@ VkResult WINAPI vkGetImageViewOpaqueCaptureDescriptorDataEXT(VkDevice device, co
...
@@ -4446,13 +4515,12 @@ VkResult WINAPI vkGetImageViewOpaqueCaptureDescriptorDataEXT(VkDevice device, co
return
params
.
result
;
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
;
struct
vkGetLatencyTimingsNV_params
params
;
NTSTATUS
status
;
NTSTATUS
status
;
params
.
device
=
device
;
params
.
device
=
device
;
params
.
swapchain
=
swapchain
;
params
.
swapchain
=
swapchain
;
params
.
pTimingCount
=
pTimingCount
;
params
.
pLatencyMarkerInfo
=
pLatencyMarkerInfo
;
params
.
pLatencyMarkerInfo
=
pLatencyMarkerInfo
;
status
=
UNIX_CALL
(
vkGetLatencyTimingsNV
,
&
params
);
status
=
UNIX_CALL
(
vkGetLatencyTimingsNV
,
&
params
);
assert
(
!
status
&&
"vkGetLatencyTimingsNV"
);
assert
(
!
status
&&
"vkGetLatencyTimingsNV"
);
...
@@ -6061,6 +6129,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
...
@@ -6061,6 +6129,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{
"vkCmdCopyMicromapToMemoryEXT"
,
vkCmdCopyMicromapToMemoryEXT
},
{
"vkCmdCopyMicromapToMemoryEXT"
,
vkCmdCopyMicromapToMemoryEXT
},
{
"vkCmdCopyQueryPoolResults"
,
vkCmdCopyQueryPoolResults
},
{
"vkCmdCopyQueryPoolResults"
,
vkCmdCopyQueryPoolResults
},
{
"vkCmdCuLaunchKernelNVX"
,
vkCmdCuLaunchKernelNVX
},
{
"vkCmdCuLaunchKernelNVX"
,
vkCmdCuLaunchKernelNVX
},
{
"vkCmdCudaLaunchKernelNV"
,
vkCmdCudaLaunchKernelNV
},
{
"vkCmdDebugMarkerBeginEXT"
,
vkCmdDebugMarkerBeginEXT
},
{
"vkCmdDebugMarkerBeginEXT"
,
vkCmdDebugMarkerBeginEXT
},
{
"vkCmdDebugMarkerEndEXT"
,
vkCmdDebugMarkerEndEXT
},
{
"vkCmdDebugMarkerEndEXT"
,
vkCmdDebugMarkerEndEXT
},
{
"vkCmdDebugMarkerInsertEXT"
,
vkCmdDebugMarkerInsertEXT
},
{
"vkCmdDebugMarkerInsertEXT"
,
vkCmdDebugMarkerInsertEXT
},
...
@@ -6256,6 +6325,8 @@ static const struct vulkan_func vk_device_dispatch_table[] =
...
@@ -6256,6 +6325,8 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{
"vkCreateComputePipelines"
,
vkCreateComputePipelines
},
{
"vkCreateComputePipelines"
,
vkCreateComputePipelines
},
{
"vkCreateCuFunctionNVX"
,
vkCreateCuFunctionNVX
},
{
"vkCreateCuFunctionNVX"
,
vkCreateCuFunctionNVX
},
{
"vkCreateCuModuleNVX"
,
vkCreateCuModuleNVX
},
{
"vkCreateCuModuleNVX"
,
vkCreateCuModuleNVX
},
{
"vkCreateCudaFunctionNV"
,
vkCreateCudaFunctionNV
},
{
"vkCreateCudaModuleNV"
,
vkCreateCudaModuleNV
},
{
"vkCreateDeferredOperationKHR"
,
vkCreateDeferredOperationKHR
},
{
"vkCreateDeferredOperationKHR"
,
vkCreateDeferredOperationKHR
},
{
"vkCreateDescriptorPool"
,
vkCreateDescriptorPool
},
{
"vkCreateDescriptorPool"
,
vkCreateDescriptorPool
},
{
"vkCreateDescriptorSetLayout"
,
vkCreateDescriptorSetLayout
},
{
"vkCreateDescriptorSetLayout"
,
vkCreateDescriptorSetLayout
},
...
@@ -6298,6 +6369,8 @@ static const struct vulkan_func vk_device_dispatch_table[] =
...
@@ -6298,6 +6369,8 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{
"vkDestroyCommandPool"
,
vkDestroyCommandPool
},
{
"vkDestroyCommandPool"
,
vkDestroyCommandPool
},
{
"vkDestroyCuFunctionNVX"
,
vkDestroyCuFunctionNVX
},
{
"vkDestroyCuFunctionNVX"
,
vkDestroyCuFunctionNVX
},
{
"vkDestroyCuModuleNVX"
,
vkDestroyCuModuleNVX
},
{
"vkDestroyCuModuleNVX"
,
vkDestroyCuModuleNVX
},
{
"vkDestroyCudaFunctionNV"
,
vkDestroyCudaFunctionNV
},
{
"vkDestroyCudaModuleNV"
,
vkDestroyCudaModuleNV
},
{
"vkDestroyDeferredOperationKHR"
,
vkDestroyDeferredOperationKHR
},
{
"vkDestroyDeferredOperationKHR"
,
vkDestroyDeferredOperationKHR
},
{
"vkDestroyDescriptorPool"
,
vkDestroyDescriptorPool
},
{
"vkDestroyDescriptorPool"
,
vkDestroyDescriptorPool
},
{
"vkDestroyDescriptorSetLayout"
,
vkDestroyDescriptorSetLayout
},
{
"vkDestroyDescriptorSetLayout"
,
vkDestroyDescriptorSetLayout
},
...
@@ -6348,6 +6421,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
...
@@ -6348,6 +6421,7 @@ static const struct vulkan_func vk_device_dispatch_table[] =
{
"vkGetBufferOpaqueCaptureAddressKHR"
,
vkGetBufferOpaqueCaptureAddressKHR
},
{
"vkGetBufferOpaqueCaptureAddressKHR"
,
vkGetBufferOpaqueCaptureAddressKHR
},
{
"vkGetBufferOpaqueCaptureDescriptorDataEXT"
,
vkGetBufferOpaqueCaptureDescriptorDataEXT
},
{
"vkGetBufferOpaqueCaptureDescriptorDataEXT"
,
vkGetBufferOpaqueCaptureDescriptorDataEXT
},
{
"vkGetCalibratedTimestampsEXT"
,
vkGetCalibratedTimestampsEXT
},
{
"vkGetCalibratedTimestampsEXT"
,
vkGetCalibratedTimestampsEXT
},
{
"vkGetCudaModuleCacheNV"
,
vkGetCudaModuleCacheNV
},
{
"vkGetDeferredOperationMaxConcurrencyKHR"
,
vkGetDeferredOperationMaxConcurrencyKHR
},
{
"vkGetDeferredOperationMaxConcurrencyKHR"
,
vkGetDeferredOperationMaxConcurrencyKHR
},
{
"vkGetDeferredOperationResultKHR"
,
vkGetDeferredOperationResultKHR
},
{
"vkGetDeferredOperationResultKHR"
,
vkGetDeferredOperationResultKHR
},
{
"vkGetDescriptorEXT"
,
vkGetDescriptorEXT
},
{
"vkGetDescriptorEXT"
,
vkGetDescriptorEXT
},
...
...
dlls/winevulkan/loader_thunks.h
View file @
7a2cee7a
...
@@ -92,6 +92,7 @@ enum unix_call
...
@@ -92,6 +92,7 @@ enum unix_call
unix_vkCmdCopyMicromapToMemoryEXT
,
unix_vkCmdCopyMicromapToMemoryEXT
,
unix_vkCmdCopyQueryPoolResults
,
unix_vkCmdCopyQueryPoolResults
,
unix_vkCmdCuLaunchKernelNVX
,
unix_vkCmdCuLaunchKernelNVX
,
unix_vkCmdCudaLaunchKernelNV
,
unix_vkCmdDebugMarkerBeginEXT
,
unix_vkCmdDebugMarkerBeginEXT
,
unix_vkCmdDebugMarkerEndEXT
,
unix_vkCmdDebugMarkerEndEXT
,
unix_vkCmdDebugMarkerInsertEXT
,
unix_vkCmdDebugMarkerInsertEXT
,
...
@@ -287,6 +288,8 @@ enum unix_call
...
@@ -287,6 +288,8 @@ enum unix_call
unix_vkCreateComputePipelines
,
unix_vkCreateComputePipelines
,
unix_vkCreateCuFunctionNVX
,
unix_vkCreateCuFunctionNVX
,
unix_vkCreateCuModuleNVX
,
unix_vkCreateCuModuleNVX
,
unix_vkCreateCudaFunctionNV
,
unix_vkCreateCudaModuleNV
,
unix_vkCreateDebugReportCallbackEXT
,
unix_vkCreateDebugReportCallbackEXT
,
unix_vkCreateDebugUtilsMessengerEXT
,
unix_vkCreateDebugUtilsMessengerEXT
,
unix_vkCreateDeferredOperationKHR
,
unix_vkCreateDeferredOperationKHR
,
...
@@ -335,6 +338,8 @@ enum unix_call
...
@@ -335,6 +338,8 @@ enum unix_call
unix_vkDestroyCommandPool
,
unix_vkDestroyCommandPool
,
unix_vkDestroyCuFunctionNVX
,
unix_vkDestroyCuFunctionNVX
,
unix_vkDestroyCuModuleNVX
,
unix_vkDestroyCuModuleNVX
,
unix_vkDestroyCudaFunctionNV
,
unix_vkDestroyCudaModuleNV
,
unix_vkDestroyDebugReportCallbackEXT
,
unix_vkDestroyDebugReportCallbackEXT
,
unix_vkDestroyDebugUtilsMessengerEXT
,
unix_vkDestroyDebugUtilsMessengerEXT
,
unix_vkDestroyDeferredOperationKHR
,
unix_vkDestroyDeferredOperationKHR
,
...
@@ -397,6 +402,7 @@ enum unix_call
...
@@ -397,6 +402,7 @@ enum unix_call
unix_vkGetBufferOpaqueCaptureAddressKHR
,
unix_vkGetBufferOpaqueCaptureAddressKHR
,
unix_vkGetBufferOpaqueCaptureDescriptorDataEXT
,
unix_vkGetBufferOpaqueCaptureDescriptorDataEXT
,
unix_vkGetCalibratedTimestampsEXT
,
unix_vkGetCalibratedTimestampsEXT
,
unix_vkGetCudaModuleCacheNV
,
unix_vkGetDeferredOperationMaxConcurrencyKHR
,
unix_vkGetDeferredOperationMaxConcurrencyKHR
,
unix_vkGetDeferredOperationResultKHR
,
unix_vkGetDeferredOperationResultKHR
,
unix_vkGetDescriptorEXT
,
unix_vkGetDescriptorEXT
,
...
@@ -1184,6 +1190,12 @@ struct vkCmdCuLaunchKernelNVX_params
...
@@ -1184,6 +1190,12 @@ struct vkCmdCuLaunchKernelNVX_params
const
VkCuLaunchInfoNVX
*
pLaunchInfo
;
const
VkCuLaunchInfoNVX
*
pLaunchInfo
;
};
};
struct
vkCmdCudaLaunchKernelNV_params
{
VkCommandBuffer
commandBuffer
;
const
VkCudaLaunchInfoNV
*
pLaunchInfo
;
};
struct
vkCmdDebugMarkerBeginEXT_params
struct
vkCmdDebugMarkerBeginEXT_params
{
{
VkCommandBuffer
commandBuffer
;
VkCommandBuffer
commandBuffer
;
...
@@ -2657,6 +2669,24 @@ struct vkCreateCuModuleNVX_params
...
@@ -2657,6 +2669,24 @@ struct vkCreateCuModuleNVX_params
VkResult
result
;
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
struct
vkCreateDebugReportCallbackEXT_params
{
{
VkInstance
instance
;
VkInstance
instance
;
...
@@ -3080,6 +3110,20 @@ struct vkDestroyCuModuleNVX_params
...
@@ -3080,6 +3110,20 @@ struct vkDestroyCuModuleNVX_params
const
VkAllocationCallbacks
*
pAllocator
;
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
struct
vkDestroyDebugReportCallbackEXT_params
{
{
VkInstance
instance
;
VkInstance
instance
;
...
@@ -3532,6 +3576,15 @@ struct vkGetCalibratedTimestampsEXT_params
...
@@ -3532,6 +3576,15 @@ struct vkGetCalibratedTimestampsEXT_params
VkResult
result
;
VkResult
result
;
};
};
struct
vkGetCudaModuleCacheNV_params
{
VkDevice
device
;
VkCudaModuleNV
DECLSPEC_ALIGN
(
8
)
module
;
size_t
*
pCacheSize
;
void
*
pCacheData
;
VkResult
result
;
};
struct
vkGetDeferredOperationMaxConcurrencyKHR_params
struct
vkGetDeferredOperationMaxConcurrencyKHR_params
{
{
VkDevice
device
;
VkDevice
device
;
...
@@ -3889,7 +3942,6 @@ struct vkGetLatencyTimingsNV_params
...
@@ -3889,7 +3942,6 @@ struct vkGetLatencyTimingsNV_params
{
{
VkDevice
device
;
VkDevice
device
;
VkSwapchainKHR
DECLSPEC_ALIGN
(
8
)
swapchain
;
VkSwapchainKHR
DECLSPEC_ALIGN
(
8
)
swapchain
;
uint32_t
*
pTimingCount
;
VkGetLatencyMarkerInfoNV
*
pLatencyMarkerInfo
;
VkGetLatencyMarkerInfoNV
*
pLatencyMarkerInfo
;
};
};
...
...
dlls/winevulkan/make_vulkan
View file @
7a2cee7a
...
@@ -64,7 +64,7 @@ from enum import Enum
...
@@ -64,7 +64,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.2
67
"
VK_XML_VERSION
=
"1.3.2
72
"
WINE_VK_VERSION
=
(
1
,
3
)
WINE_VK_VERSION
=
(
1
,
3
)
# Filenames to create.
# Filenames to create.
...
@@ -95,6 +95,7 @@ UNSUPPORTED_EXTENSIONS = [
...
@@ -95,6 +95,7 @@ UNSUPPORTED_EXTENSIONS = [
# Device extensions
# Device extensions
"VK_AMD_display_native_hdr"
,
"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_EXT_full_screen_exclusive"
,
"VK_GOOGLE_display_timing"
,
"VK_GOOGLE_display_timing"
,
"VK_KHR_external_fence_win32"
,
"VK_KHR_external_fence_win32"
,
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
7a2cee7a
This diff is collapsed.
Click to expand it.
dlls/winevulkan/vulkan_thunks.h
View file @
7a2cee7a
...
@@ -139,6 +139,7 @@ struct vulkan_device_funcs
...
@@ -139,6 +139,7 @@ struct vulkan_device_funcs
void
(
*
p_vkCmdCopyMicromapToMemoryEXT
)(
VkCommandBuffer
,
const
VkCopyMicromapToMemoryInfoEXT
*
);
void
(
*
p_vkCmdCopyMicromapToMemoryEXT
)(
VkCommandBuffer
,
const
VkCopyMicromapToMemoryInfoEXT
*
);
void
(
*
p_vkCmdCopyQueryPoolResults
)(
VkCommandBuffer
,
VkQueryPool
,
uint32_t
,
uint32_t
,
VkBuffer
,
VkDeviceSize
,
VkDeviceSize
,
VkQueryResultFlags
);
void
(
*
p_vkCmdCopyQueryPoolResults
)(
VkCommandBuffer
,
VkQueryPool
,
uint32_t
,
uint32_t
,
VkBuffer
,
VkDeviceSize
,
VkDeviceSize
,
VkQueryResultFlags
);
void
(
*
p_vkCmdCuLaunchKernelNVX
)(
VkCommandBuffer
,
const
VkCuLaunchInfoNVX
*
);
void
(
*
p_vkCmdCuLaunchKernelNVX
)(
VkCommandBuffer
,
const
VkCuLaunchInfoNVX
*
);
void
(
*
p_vkCmdCudaLaunchKernelNV
)(
VkCommandBuffer
,
const
VkCudaLaunchInfoNV
*
);
void
(
*
p_vkCmdDebugMarkerBeginEXT
)(
VkCommandBuffer
,
const
VkDebugMarkerMarkerInfoEXT
*
);
void
(
*
p_vkCmdDebugMarkerBeginEXT
)(
VkCommandBuffer
,
const
VkDebugMarkerMarkerInfoEXT
*
);
void
(
*
p_vkCmdDebugMarkerEndEXT
)(
VkCommandBuffer
);
void
(
*
p_vkCmdDebugMarkerEndEXT
)(
VkCommandBuffer
);
void
(
*
p_vkCmdDebugMarkerInsertEXT
)(
VkCommandBuffer
,
const
VkDebugMarkerMarkerInfoEXT
*
);
void
(
*
p_vkCmdDebugMarkerInsertEXT
)(
VkCommandBuffer
,
const
VkDebugMarkerMarkerInfoEXT
*
);
...
@@ -334,6 +335,8 @@ struct vulkan_device_funcs
...
@@ -334,6 +335,8 @@ struct vulkan_device_funcs
VkResult
(
*
p_vkCreateComputePipelines
)(
VkDevice
,
VkPipelineCache
,
uint32_t
,
const
VkComputePipelineCreateInfo
*
,
const
VkAllocationCallbacks
*
,
VkPipeline
*
);
VkResult
(
*
p_vkCreateComputePipelines
)(
VkDevice
,
VkPipelineCache
,
uint32_t
,
const
VkComputePipelineCreateInfo
*
,
const
VkAllocationCallbacks
*
,
VkPipeline
*
);
VkResult
(
*
p_vkCreateCuFunctionNVX
)(
VkDevice
,
const
VkCuFunctionCreateInfoNVX
*
,
const
VkAllocationCallbacks
*
,
VkCuFunctionNVX
*
);
VkResult
(
*
p_vkCreateCuFunctionNVX
)(
VkDevice
,
const
VkCuFunctionCreateInfoNVX
*
,
const
VkAllocationCallbacks
*
,
VkCuFunctionNVX
*
);
VkResult
(
*
p_vkCreateCuModuleNVX
)(
VkDevice
,
const
VkCuModuleCreateInfoNVX
*
,
const
VkAllocationCallbacks
*
,
VkCuModuleNVX
*
);
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_vkCreateDeferredOperationKHR
)(
VkDevice
,
const
VkAllocationCallbacks
*
,
VkDeferredOperationKHR
*
);
VkResult
(
*
p_vkCreateDescriptorPool
)(
VkDevice
,
const
VkDescriptorPoolCreateInfo
*
,
const
VkAllocationCallbacks
*
,
VkDescriptorPool
*
);
VkResult
(
*
p_vkCreateDescriptorPool
)(
VkDevice
,
const
VkDescriptorPoolCreateInfo
*
,
const
VkAllocationCallbacks
*
,
VkDescriptorPool
*
);
VkResult
(
*
p_vkCreateDescriptorSetLayout
)(
VkDevice
,
const
VkDescriptorSetLayoutCreateInfo
*
,
const
VkAllocationCallbacks
*
,
VkDescriptorSetLayout
*
);
VkResult
(
*
p_vkCreateDescriptorSetLayout
)(
VkDevice
,
const
VkDescriptorSetLayoutCreateInfo
*
,
const
VkAllocationCallbacks
*
,
VkDescriptorSetLayout
*
);
...
@@ -376,6 +379,8 @@ struct vulkan_device_funcs
...
@@ -376,6 +379,8 @@ struct vulkan_device_funcs
void
(
*
p_vkDestroyCommandPool
)(
VkDevice
,
VkCommandPool
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyCommandPool
)(
VkDevice
,
VkCommandPool
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyCuFunctionNVX
)(
VkDevice
,
VkCuFunctionNVX
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyCuFunctionNVX
)(
VkDevice
,
VkCuFunctionNVX
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyCuModuleNVX
)(
VkDevice
,
VkCuModuleNVX
,
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_vkDestroyDeferredOperationKHR
)(
VkDevice
,
VkDeferredOperationKHR
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyDescriptorPool
)(
VkDevice
,
VkDescriptorPool
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyDescriptorPool
)(
VkDevice
,
VkDescriptorPool
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyDescriptorSetLayout
)(
VkDevice
,
VkDescriptorSetLayout
,
const
VkAllocationCallbacks
*
);
void
(
*
p_vkDestroyDescriptorSetLayout
)(
VkDevice
,
VkDescriptorSetLayout
,
const
VkAllocationCallbacks
*
);
...
@@ -426,6 +431,7 @@ struct vulkan_device_funcs
...
@@ -426,6 +431,7 @@ struct vulkan_device_funcs
uint64_t
(
*
p_vkGetBufferOpaqueCaptureAddressKHR
)(
VkDevice
,
const
VkBufferDeviceAddressInfo
*
);
uint64_t
(
*
p_vkGetBufferOpaqueCaptureAddressKHR
)(
VkDevice
,
const
VkBufferDeviceAddressInfo
*
);
VkResult
(
*
p_vkGetBufferOpaqueCaptureDescriptorDataEXT
)(
VkDevice
,
const
VkBufferCaptureDescriptorDataInfoEXT
*
,
void
*
);
VkResult
(
*
p_vkGetBufferOpaqueCaptureDescriptorDataEXT
)(
VkDevice
,
const
VkBufferCaptureDescriptorDataInfoEXT
*
,
void
*
);
VkResult
(
*
p_vkGetCalibratedTimestampsEXT
)(
VkDevice
,
uint32_t
,
const
VkCalibratedTimestampInfoEXT
*
,
uint64_t
*
,
uint64_t
*
);
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
);
uint32_t
(
*
p_vkGetDeferredOperationMaxConcurrencyKHR
)(
VkDevice
,
VkDeferredOperationKHR
);
VkResult
(
*
p_vkGetDeferredOperationResultKHR
)(
VkDevice
,
VkDeferredOperationKHR
);
VkResult
(
*
p_vkGetDeferredOperationResultKHR
)(
VkDevice
,
VkDeferredOperationKHR
);
void
(
*
p_vkGetDescriptorEXT
)(
VkDevice
,
const
VkDescriptorGetInfoEXT
*
,
size_t
,
void
*
);
void
(
*
p_vkGetDescriptorEXT
)(
VkDevice
,
const
VkDescriptorGetInfoEXT
*
,
size_t
,
void
*
);
...
@@ -473,7 +479,7 @@ struct vulkan_device_funcs
...
@@ -473,7 +479,7 @@ struct vulkan_device_funcs
VkResult
(
*
p_vkGetImageViewAddressNVX
)(
VkDevice
,
VkImageView
,
VkImageViewAddressPropertiesNVX
*
);
VkResult
(
*
p_vkGetImageViewAddressNVX
)(
VkDevice
,
VkImageView
,
VkImageViewAddressPropertiesNVX
*
);
uint32_t
(
*
p_vkGetImageViewHandleNVX
)(
VkDevice
,
const
VkImageViewHandleInfoNVX
*
);
uint32_t
(
*
p_vkGetImageViewHandleNVX
)(
VkDevice
,
const
VkImageViewHandleInfoNVX
*
);
VkResult
(
*
p_vkGetImageViewOpaqueCaptureDescriptorDataEXT
)(
VkDevice
,
const
VkImageViewCaptureDescriptorDataInfoEXT
*
,
void
*
);
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
*
);
VkResult
(
*
p_vkGetMemoryHostPointerPropertiesEXT
)(
VkDevice
,
VkExternalMemoryHandleTypeFlagBits
,
const
void
*
,
VkMemoryHostPointerPropertiesEXT
*
);
void
(
*
p_vkGetMicromapBuildSizesEXT
)(
VkDevice
,
VkAccelerationStructureBuildTypeKHR
,
const
VkMicromapBuildInfoEXT
*
,
VkMicromapBuildSizesInfoEXT
*
);
void
(
*
p_vkGetMicromapBuildSizesEXT
)(
VkDevice
,
VkAccelerationStructureBuildTypeKHR
,
const
VkMicromapBuildInfoEXT
*
,
VkMicromapBuildSizesInfoEXT
*
);
VkResult
(
*
p_vkGetPerformanceParameterINTEL
)(
VkDevice
,
VkPerformanceParameterTypeINTEL
,
VkPerformanceValueINTEL
*
);
VkResult
(
*
p_vkGetPerformanceParameterINTEL
)(
VkDevice
,
VkPerformanceParameterTypeINTEL
,
VkPerformanceValueINTEL
*
);
...
@@ -695,6 +701,7 @@ struct vulkan_instance_funcs
...
@@ -695,6 +701,7 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkCmdCopyMicromapToMemoryEXT) \
USE_VK_FUNC(vkCmdCopyMicromapToMemoryEXT) \
USE_VK_FUNC(vkCmdCopyQueryPoolResults) \
USE_VK_FUNC(vkCmdCopyQueryPoolResults) \
USE_VK_FUNC(vkCmdCuLaunchKernelNVX) \
USE_VK_FUNC(vkCmdCuLaunchKernelNVX) \
USE_VK_FUNC(vkCmdCudaLaunchKernelNV) \
USE_VK_FUNC(vkCmdDebugMarkerBeginEXT) \
USE_VK_FUNC(vkCmdDebugMarkerBeginEXT) \
USE_VK_FUNC(vkCmdDebugMarkerEndEXT) \
USE_VK_FUNC(vkCmdDebugMarkerEndEXT) \
USE_VK_FUNC(vkCmdDebugMarkerInsertEXT) \
USE_VK_FUNC(vkCmdDebugMarkerInsertEXT) \
...
@@ -890,6 +897,8 @@ struct vulkan_instance_funcs
...
@@ -890,6 +897,8 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkCreateComputePipelines) \
USE_VK_FUNC(vkCreateComputePipelines) \
USE_VK_FUNC(vkCreateCuFunctionNVX) \
USE_VK_FUNC(vkCreateCuFunctionNVX) \
USE_VK_FUNC(vkCreateCuModuleNVX) \
USE_VK_FUNC(vkCreateCuModuleNVX) \
USE_VK_FUNC(vkCreateCudaFunctionNV) \
USE_VK_FUNC(vkCreateCudaModuleNV) \
USE_VK_FUNC(vkCreateDeferredOperationKHR) \
USE_VK_FUNC(vkCreateDeferredOperationKHR) \
USE_VK_FUNC(vkCreateDescriptorPool) \
USE_VK_FUNC(vkCreateDescriptorPool) \
USE_VK_FUNC(vkCreateDescriptorSetLayout) \
USE_VK_FUNC(vkCreateDescriptorSetLayout) \
...
@@ -932,6 +941,8 @@ struct vulkan_instance_funcs
...
@@ -932,6 +941,8 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkDestroyCommandPool) \
USE_VK_FUNC(vkDestroyCommandPool) \
USE_VK_FUNC(vkDestroyCuFunctionNVX) \
USE_VK_FUNC(vkDestroyCuFunctionNVX) \
USE_VK_FUNC(vkDestroyCuModuleNVX) \
USE_VK_FUNC(vkDestroyCuModuleNVX) \
USE_VK_FUNC(vkDestroyCudaFunctionNV) \
USE_VK_FUNC(vkDestroyCudaModuleNV) \
USE_VK_FUNC(vkDestroyDeferredOperationKHR) \
USE_VK_FUNC(vkDestroyDeferredOperationKHR) \
USE_VK_FUNC(vkDestroyDescriptorPool) \
USE_VK_FUNC(vkDestroyDescriptorPool) \
USE_VK_FUNC(vkDestroyDescriptorSetLayout) \
USE_VK_FUNC(vkDestroyDescriptorSetLayout) \
...
@@ -982,6 +993,7 @@ struct vulkan_instance_funcs
...
@@ -982,6 +993,7 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkGetBufferOpaqueCaptureAddressKHR) \
USE_VK_FUNC(vkGetBufferOpaqueCaptureAddressKHR) \
USE_VK_FUNC(vkGetBufferOpaqueCaptureDescriptorDataEXT) \
USE_VK_FUNC(vkGetBufferOpaqueCaptureDescriptorDataEXT) \
USE_VK_FUNC(vkGetCalibratedTimestampsEXT) \
USE_VK_FUNC(vkGetCalibratedTimestampsEXT) \
USE_VK_FUNC(vkGetCudaModuleCacheNV) \
USE_VK_FUNC(vkGetDeferredOperationMaxConcurrencyKHR) \
USE_VK_FUNC(vkGetDeferredOperationMaxConcurrencyKHR) \
USE_VK_FUNC(vkGetDeferredOperationResultKHR) \
USE_VK_FUNC(vkGetDeferredOperationResultKHR) \
USE_VK_FUNC(vkGetDescriptorEXT) \
USE_VK_FUNC(vkGetDescriptorEXT) \
...
...
dlls/winevulkan/winevulkan.json
View file @
7a2cee7a
...
@@ -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.2
67
"
"api_version"
:
"1.3.2
72
"
}
}
}
}
include/wine/vulkan.h
View file @
7a2cee7a
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