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
74115311
Commit
74115311
authored
Jun 21, 2021
by
Georg Lehmann
Committed by
Alexandre Julliard
Jun 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Automatically generate vkSetPrivateDataEXT.
Signed-off-by:
Georg Lehmann
<
dadschoorse@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
354370bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
12 deletions
+6
-12
make_vulkan
dlls/winevulkan/make_vulkan
+0
-1
vulkan.c
dlls/winevulkan/vulkan.c
+0
-10
vulkan_thunks.c
dlls/winevulkan/vulkan_thunks.c
+6
-0
vulkan_thunks.h
dlls/winevulkan/vulkan_thunks.h
+0
-1
No files found.
dlls/winevulkan/make_vulkan
View file @
74115311
...
...
@@ -237,7 +237,6 @@ FUNCTION_OVERRIDES = {
# VK_EXT_private_data
"vkGetPrivateDataEXT"
:
{
"dispatch"
:
True
,
"driver"
:
False
,
"thunk"
:
ThunkType
.
NONE
},
"vkSetPrivateDataEXT"
:
{
"dispatch"
:
True
,
"driver"
:
False
,
"thunk"
:
ThunkType
.
NONE
},
# VK_EXT_calibrated_timestamps
"vkGetPhysicalDeviceCalibrateableTimeDomainsEXT"
:
{
"dispatch"
:
True
,
"driver"
:
False
,
"thunk"
:
ThunkType
.
NONE
},
...
...
dlls/winevulkan/vulkan.c
View file @
74115311
...
...
@@ -1400,16 +1400,6 @@ void WINAPI wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDev
properties
->
externalSemaphoreFeatures
=
0
;
}
VkResult
WINAPI
wine_vkSetPrivateDataEXT
(
VkDevice
device
,
VkObjectType
object_type
,
uint64_t
object_handle
,
VkPrivateDataSlotEXT
private_data_slot
,
uint64_t
data
)
{
TRACE
(
"%p, %#x, 0x%s, 0x%s, 0x%s
\n
"
,
device
,
object_type
,
wine_dbgstr_longlong
(
object_handle
),
wine_dbgstr_longlong
(
private_data_slot
),
wine_dbgstr_longlong
(
data
));
object_handle
=
wine_vk_unwrap_handle
(
object_type
,
object_handle
);
return
device
->
funcs
.
p_vkSetPrivateDataEXT
(
device
->
device
,
object_type
,
object_handle
,
private_data_slot
,
data
);
}
void
WINAPI
wine_vkGetPrivateDataEXT
(
VkDevice
device
,
VkObjectType
object_type
,
uint64_t
object_handle
,
VkPrivateDataSlotEXT
private_data_slot
,
uint64_t
*
data
)
{
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
74115311
...
...
@@ -7690,6 +7690,12 @@ static VkResult WINAPI wine_vkSetEvent(VkDevice device, VkEvent event)
return
device
->
funcs
.
p_vkSetEvent
(
device
->
device
,
event
);
}
static
VkResult
WINAPI
wine_vkSetPrivateDataEXT
(
VkDevice
device
,
VkObjectType
objectType
,
uint64_t
objectHandle
,
VkPrivateDataSlotEXT
privateDataSlot
,
uint64_t
data
)
{
TRACE
(
"%p, %#x, 0x%s, 0x%s, 0x%s
\n
"
,
device
,
objectType
,
wine_dbgstr_longlong
(
objectHandle
),
wine_dbgstr_longlong
(
privateDataSlot
),
wine_dbgstr_longlong
(
data
));
return
device
->
funcs
.
p_vkSetPrivateDataEXT
(
device
->
device
,
objectType
,
wine_vk_unwrap_handle
(
objectType
,
objectHandle
),
privateDataSlot
,
data
);
}
static
VkResult
WINAPI
wine_vkSignalSemaphore
(
VkDevice
device
,
const
VkSemaphoreSignalInfo
*
pSignalInfo
)
{
#if defined(USE_STRUCT_CONVERSION)
...
...
dlls/winevulkan/vulkan_thunks.h
View file @
74115311
...
...
@@ -59,7 +59,6 @@ VkResult WINAPI wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice
void
WINAPI
wine_vkGetPrivateDataEXT
(
VkDevice
device
,
VkObjectType
objectType
,
uint64_t
objectHandle
,
VkPrivateDataSlotEXT
privateDataSlot
,
uint64_t
*
pData
)
DECLSPEC_HIDDEN
;
VkResult
WINAPI
wine_vkSetDebugUtilsObjectNameEXT
(
VkDevice
device
,
const
VkDebugUtilsObjectNameInfoEXT
*
pNameInfo
)
DECLSPEC_HIDDEN
;
VkResult
WINAPI
wine_vkSetDebugUtilsObjectTagEXT
(
VkDevice
device
,
const
VkDebugUtilsObjectTagInfoEXT
*
pTagInfo
)
DECLSPEC_HIDDEN
;
VkResult
WINAPI
wine_vkSetPrivateDataEXT
(
VkDevice
device
,
VkObjectType
objectType
,
uint64_t
objectHandle
,
VkPrivateDataSlotEXT
privateDataSlot
,
uint64_t
data
)
DECLSPEC_HIDDEN
;
void
WINAPI
wine_vkSubmitDebugUtilsMessageEXT
(
VkInstance
instance
,
VkDebugUtilsMessageSeverityFlagBitsEXT
messageSeverity
,
VkDebugUtilsMessageTypeFlagsEXT
messageTypes
,
const
VkDebugUtilsMessengerCallbackDataEXT
*
pCallbackData
)
DECLSPEC_HIDDEN
;
/* Private thunks */
...
...
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