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
f46c4a39
Commit
f46c4a39
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 vkGetPrivateDataEXT.
Signed-off-by:
Georg Lehmann
<
dadschoorse@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
74115311
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
14 deletions
+6
-14
make_vulkan
dlls/winevulkan/make_vulkan
+0
-3
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 @
f46c4a39
...
...
@@ -235,9 +235,6 @@ FUNCTION_OVERRIDES = {
"vkGetDeviceGroupSurfacePresentModesKHR"
:
{
"dispatch"
:
True
,
"driver"
:
True
,
"thunk"
:
ThunkType
.
PUBLIC
},
"vkGetPhysicalDevicePresentRectanglesKHR"
:
{
"dispatch"
:
True
,
"driver"
:
True
,
"thunk"
:
ThunkType
.
PUBLIC
},
# VK_EXT_private_data
"vkGetPrivateDataEXT"
:
{
"dispatch"
:
True
,
"driver"
:
False
,
"thunk"
:
ThunkType
.
NONE
},
# VK_EXT_calibrated_timestamps
"vkGetPhysicalDeviceCalibrateableTimeDomainsEXT"
:
{
"dispatch"
:
True
,
"driver"
:
False
,
"thunk"
:
ThunkType
.
NONE
},
"vkGetCalibratedTimestampsEXT"
:
{
"dispatch"
:
True
,
"driver"
:
False
,
"thunk"
:
ThunkType
.
NONE
},
...
...
dlls/winevulkan/vulkan.c
View file @
f46c4a39
...
...
@@ -1400,16 +1400,6 @@ void WINAPI wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDev
properties
->
externalSemaphoreFeatures
=
0
;
}
void
WINAPI
wine_vkGetPrivateDataEXT
(
VkDevice
device
,
VkObjectType
object_type
,
uint64_t
object_handle
,
VkPrivateDataSlotEXT
private_data_slot
,
uint64_t
*
data
)
{
TRACE
(
"%p, %#x, 0x%s, 0x%s, %p
\n
"
,
device
,
object_type
,
wine_dbgstr_longlong
(
object_handle
),
wine_dbgstr_longlong
(
private_data_slot
),
data
);
object_handle
=
wine_vk_unwrap_handle
(
object_type
,
object_handle
);
device
->
funcs
.
p_vkGetPrivateDataEXT
(
device
->
device
,
object_type
,
object_handle
,
private_data_slot
,
data
);
}
VkResult
WINAPI
wine_vkCreateWin32SurfaceKHR
(
VkInstance
instance
,
const
VkWin32SurfaceCreateInfoKHR
*
createInfo
,
const
VkAllocationCallbacks
*
allocator
,
VkSurfaceKHR
*
surface
)
{
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
f46c4a39
...
...
@@ -7390,6 +7390,12 @@ static VkResult WINAPI wine_vkGetPipelineExecutableStatisticsKHR(VkDevice device
#endif
}
static
void
WINAPI
wine_vkGetPrivateDataEXT
(
VkDevice
device
,
VkObjectType
objectType
,
uint64_t
objectHandle
,
VkPrivateDataSlotEXT
privateDataSlot
,
uint64_t
*
pData
)
{
TRACE
(
"%p, %#x, 0x%s, 0x%s, %p
\n
"
,
device
,
objectType
,
wine_dbgstr_longlong
(
objectHandle
),
wine_dbgstr_longlong
(
privateDataSlot
),
pData
);
device
->
funcs
.
p_vkGetPrivateDataEXT
(
device
->
device
,
objectType
,
wine_vk_unwrap_handle
(
objectType
,
objectHandle
),
privateDataSlot
,
pData
);
}
static
VkResult
WINAPI
wine_vkGetQueryPoolResults
(
VkDevice
device
,
VkQueryPool
queryPool
,
uint32_t
firstQuery
,
uint32_t
queryCount
,
size_t
dataSize
,
void
*
pData
,
VkDeviceSize
stride
,
VkQueryResultFlags
flags
)
{
TRACE
(
"%p, 0x%s, %u, %u, 0x%s, %p, 0x%s, %#x
\n
"
,
device
,
wine_dbgstr_longlong
(
queryPool
),
firstQuery
,
queryCount
,
wine_dbgstr_longlong
(
dataSize
),
pData
,
wine_dbgstr_longlong
(
stride
),
flags
);
...
...
dlls/winevulkan/vulkan_thunks.h
View file @
f46c4a39
...
...
@@ -56,7 +56,6 @@ VkResult WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice
VkResult
WINAPI
wine_vkGetPhysicalDeviceImageFormatProperties2KHR
(
VkPhysicalDevice
physicalDevice
,
const
VkPhysicalDeviceImageFormatInfo2
*
pImageFormatInfo
,
VkImageFormatProperties2
*
pImageFormatProperties
)
DECLSPEC_HIDDEN
;
VkResult
WINAPI
wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR
(
VkPhysicalDevice
physicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
pSurfaceInfo
,
VkSurfaceCapabilities2KHR
*
pSurfaceCapabilities
);
VkResult
WINAPI
wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
VkPhysicalDevice
physicalDevice
,
VkSurfaceKHR
surface
,
VkSurfaceCapabilitiesKHR
*
pSurfaceCapabilities
);
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
;
void
WINAPI
wine_vkSubmitDebugUtilsMessageEXT
(
VkInstance
instance
,
VkDebugUtilsMessageSeverityFlagBitsEXT
messageSeverity
,
VkDebugUtilsMessageTypeFlagsEXT
messageTypes
,
const
VkDebugUtilsMessengerCallbackDataEXT
*
pCallbackData
)
DECLSPEC_HIDDEN
;
...
...
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