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
923f1d1b
Commit
923f1d1b
authored
Nov 25, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Feb 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Remove now unnecessary vkGetPhysicalDeviceSurfaceCapabilities2KHR driver entry.
parent
c83f86be
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
75 deletions
+3
-75
vulkan.c
dlls/winemac.drv/vulkan.c
+0
-15
make_vulkan
dlls/winevulkan/make_vulkan
+1
-2
vulkan.c
dlls/winevulkan/vulkan.c
+1
-1
vulkan.c
dlls/winewayland.drv/vulkan.c
+0
-31
vulkan.c
dlls/winex11.drv/vulkan.c
+0
-22
vulkan_driver.h
include/wine/vulkan_driver.h
+1
-4
No files found.
dlls/winemac.drv/vulkan.c
View file @
923f1d1b
...
@@ -121,7 +121,6 @@ static void wine_vk_init(void)
...
@@ -121,7 +121,6 @@ static void wine_vk_init(void)
LOAD_FUNCPTR
(
vkEnumerateInstanceExtensionProperties
)
LOAD_FUNCPTR
(
vkEnumerateInstanceExtensionProperties
)
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
)
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
)
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
)
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilities2KHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormats2KHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormats2KHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
)
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
)
...
@@ -462,19 +461,6 @@ static void *macdrv_vkGetInstanceProcAddr(VkInstance instance, const char *name)
...
@@ -462,19 +461,6 @@ static void *macdrv_vkGetInstanceProcAddr(VkInstance instance, const char *name)
return
pvkGetInstanceProcAddr
(
instance
,
name
);
return
pvkGetInstanceProcAddr
(
instance
,
name
);
}
}
static
VkResult
macdrv_vkGetPhysicalDeviceSurfaceCapabilities2KHR
(
VkPhysicalDevice
phys_dev
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
surface_info
,
VkSurfaceCapabilities2KHR
*
capabilities
)
{
VkPhysicalDeviceSurfaceInfo2KHR
surface_info_host
;
TRACE
(
"%p, %p, %p
\n
"
,
phys_dev
,
surface_info
,
capabilities
);
surface_info_host
=
*
surface_info
;
surface_info_host
.
surface
=
surface_from_handle
(
surface_info
->
surface
)
->
host_surface
;
return
pvkGetPhysicalDeviceSurfaceCapabilities2KHR
(
phys_dev
,
&
surface_info_host
,
capabilities
);
}
static
VkResult
macdrv_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
VkPhysicalDevice
phys_dev
,
static
VkResult
macdrv_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
VkPhysicalDevice
phys_dev
,
VkSurfaceKHR
surface
,
VkSurfaceCapabilitiesKHR
*
capabilities
)
VkSurfaceKHR
surface
,
VkSurfaceCapabilitiesKHR
*
capabilities
)
{
{
...
@@ -575,7 +561,6 @@ static const struct vulkan_funcs vulkan_funcs =
...
@@ -575,7 +561,6 @@ static const struct vulkan_funcs vulkan_funcs =
macdrv_vkGetDeviceProcAddr
,
macdrv_vkGetDeviceProcAddr
,
macdrv_vkGetInstanceProcAddr
,
macdrv_vkGetInstanceProcAddr
,
NULL
,
NULL
,
macdrv_vkGetPhysicalDeviceSurfaceCapabilities2KHR
,
macdrv_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
,
macdrv_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
,
macdrv_vkGetPhysicalDeviceSurfaceFormats2KHR
,
macdrv_vkGetPhysicalDeviceSurfaceFormats2KHR
,
macdrv_vkGetPhysicalDeviceSurfaceFormatsKHR
,
macdrv_vkGetPhysicalDeviceSurfaceFormatsKHR
,
...
...
dlls/winevulkan/make_vulkan
View file @
923f1d1b
...
@@ -160,7 +160,7 @@ PERF_CRITICAL_FUNCTIONS = [
...
@@ -160,7 +160,7 @@ PERF_CRITICAL_FUNCTIONS = [
# Functions part of our winevulkan graphics driver interface.
# Functions part of our winevulkan graphics driver interface.
# DRIVER_VERSION should be bumped on any change to driver interface
# DRIVER_VERSION should be bumped on any change to driver interface
# in FUNCTION_OVERRIDES
# in FUNCTION_OVERRIDES
DRIVER_VERSION
=
1
4
DRIVER_VERSION
=
1
5
# Table of functions for which we have a special implementation.
# Table of functions for which we have a special implementation.
# These are regular device / instance functions for which we need
# These are regular device / instance functions for which we need
...
@@ -204,7 +204,6 @@ USER_DRIVER_FUNCS = {
...
@@ -204,7 +204,6 @@ USER_DRIVER_FUNCS = {
"vkGetDeviceProcAddr"
,
"vkGetDeviceProcAddr"
,
"vkGetInstanceProcAddr"
,
"vkGetInstanceProcAddr"
,
"vkGetPhysicalDevicePresentRectanglesKHR"
,
"vkGetPhysicalDevicePresentRectanglesKHR"
,
"vkGetPhysicalDeviceSurfaceCapabilities2KHR"
,
"vkGetPhysicalDeviceSurfaceCapabilitiesKHR"
,
"vkGetPhysicalDeviceSurfaceCapabilitiesKHR"
,
"vkGetPhysicalDeviceSurfaceFormats2KHR"
,
"vkGetPhysicalDeviceSurfaceFormats2KHR"
,
"vkGetPhysicalDeviceSurfaceFormatsKHR"
,
"vkGetPhysicalDeviceSurfaceFormatsKHR"
,
...
...
dlls/winevulkan/vulkan.c
View file @
923f1d1b
...
@@ -1889,7 +1889,7 @@ VkResult wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice device
...
@@ -1889,7 +1889,7 @@ VkResult wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice device
&
capabilities
->
surfaceCapabilities
);
&
capabilities
->
surfaceCapabilities
);
}
}
surface_info_host
.
surface
=
surface
->
driver
_surface
;
surface_info_host
.
surface
=
surface
->
host
_surface
;
if
(
!
NtUserIsWindow
(
surface
->
hwnd
))
return
VK_ERROR_SURFACE_LOST_KHR
;
if
(
!
NtUserIsWindow
(
surface
->
hwnd
))
return
VK_ERROR_SURFACE_LOST_KHR
;
res
=
instance
->
funcs
.
p_vkGetPhysicalDeviceSurfaceCapabilities2KHR
(
physical_device
->
host_physical_device
,
res
=
instance
->
funcs
.
p_vkGetPhysicalDeviceSurfaceCapabilities2KHR
(
physical_device
->
host_physical_device
,
...
...
dlls/winewayland.drv/vulkan.c
View file @
923f1d1b
...
@@ -61,7 +61,6 @@ static VkResult (*pvkEnumerateInstanceExtensionProperties)(const char *, uint32_
...
@@ -61,7 +61,6 @@ static VkResult (*pvkEnumerateInstanceExtensionProperties)(const char *, uint32_
static
void
*
(
*
pvkGetDeviceProcAddr
)(
VkDevice
,
const
char
*
);
static
void
*
(
*
pvkGetDeviceProcAddr
)(
VkDevice
,
const
char
*
);
static
void
*
(
*
pvkGetInstanceProcAddr
)(
VkInstance
,
const
char
*
);
static
void
*
(
*
pvkGetInstanceProcAddr
)(
VkInstance
,
const
char
*
);
static
VkResult
(
*
pvkGetPhysicalDevicePresentRectanglesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkRect2D
*
);
static
VkResult
(
*
pvkGetPhysicalDevicePresentRectanglesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkRect2D
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceCapabilities2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
VkSurfaceCapabilities2KHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceCapabilitiesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
VkSurfaceCapabilitiesKHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceCapabilitiesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
VkSurfaceCapabilitiesKHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormats2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
uint32_t
*
,
VkSurfaceFormat2KHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormats2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
uint32_t
*
,
VkSurfaceFormat2KHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormatsKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkSurfaceFormatKHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormatsKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkSurfaceFormatKHR
*
);
...
@@ -549,34 +548,6 @@ static VkResult wayland_vkGetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice
...
@@ -549,34 +548,6 @@ static VkResult wayland_vkGetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice
count
,
rects
);
count
,
rects
);
}
}
static
VkResult
wayland_vkGetPhysicalDeviceSurfaceCapabilities2KHR
(
VkPhysicalDevice
phys_dev
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
surface_info
,
VkSurfaceCapabilities2KHR
*
capabilities
)
{
struct
wine_vk_surface
*
wine_vk_surface
=
wine_vk_surface_from_handle
(
surface_info
->
surface
);
VkPhysicalDeviceSurfaceInfo2KHR
surface_info_host
;
TRACE
(
"%p, %p, %p
\n
"
,
phys_dev
,
surface_info
,
capabilities
);
surface_info_host
=
*
surface_info
;
surface_info_host
.
surface
=
wine_vk_surface
->
host_surface
;
if
(
pvkGetPhysicalDeviceSurfaceCapabilities2KHR
)
return
pvkGetPhysicalDeviceSurfaceCapabilities2KHR
(
phys_dev
,
&
surface_info_host
,
capabilities
);
/* Until the loader version exporting this function is common, emulate it
* using the older non-2 version. */
if
(
surface_info
->
pNext
||
capabilities
->
pNext
)
{
FIXME
(
"Emulating vkGetPhysicalDeviceSurfaceCapabilities2KHR with "
"vkGetPhysicalDeviceSurfaceCapabilitiesKHR, pNext is ignored.
\n
"
);
}
return
pvkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
phys_dev
,
surface_info_host
.
surface
,
&
capabilities
->
surfaceCapabilities
);
}
static
VkResult
wayland_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
VkPhysicalDevice
phys_dev
,
static
VkResult
wayland_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
VkPhysicalDevice
phys_dev
,
VkSurfaceKHR
surface
,
VkSurfaceKHR
surface
,
VkSurfaceCapabilitiesKHR
*
capabilities
)
VkSurfaceCapabilitiesKHR
*
capabilities
)
...
@@ -705,7 +676,6 @@ static void wine_vk_init(void)
...
@@ -705,7 +676,6 @@ static void wine_vk_init(void)
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
);
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
);
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
);
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDevicePresentRectanglesKHR
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDevicePresentRectanglesKHR
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilities2KHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormats2KHR
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormats2KHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
);
...
@@ -734,7 +704,6 @@ static const struct vulkan_funcs vulkan_funcs =
...
@@ -734,7 +704,6 @@ static const struct vulkan_funcs vulkan_funcs =
.
p_vkGetDeviceProcAddr
=
wayland_vkGetDeviceProcAddr
,
.
p_vkGetDeviceProcAddr
=
wayland_vkGetDeviceProcAddr
,
.
p_vkGetInstanceProcAddr
=
wayland_vkGetInstanceProcAddr
,
.
p_vkGetInstanceProcAddr
=
wayland_vkGetInstanceProcAddr
,
.
p_vkGetPhysicalDevicePresentRectanglesKHR
=
wayland_vkGetPhysicalDevicePresentRectanglesKHR
,
.
p_vkGetPhysicalDevicePresentRectanglesKHR
=
wayland_vkGetPhysicalDevicePresentRectanglesKHR
,
.
p_vkGetPhysicalDeviceSurfaceCapabilities2KHR
=
wayland_vkGetPhysicalDeviceSurfaceCapabilities2KHR
,
.
p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
=
wayland_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
,
.
p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
=
wayland_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
,
.
p_vkGetPhysicalDeviceSurfaceFormats2KHR
=
wayland_vkGetPhysicalDeviceSurfaceFormats2KHR
,
.
p_vkGetPhysicalDeviceSurfaceFormats2KHR
=
wayland_vkGetPhysicalDeviceSurfaceFormats2KHR
,
.
p_vkGetPhysicalDeviceSurfaceFormatsKHR
=
wayland_vkGetPhysicalDeviceSurfaceFormatsKHR
,
.
p_vkGetPhysicalDeviceSurfaceFormatsKHR
=
wayland_vkGetPhysicalDeviceSurfaceFormatsKHR
,
...
...
dlls/winex11.drv/vulkan.c
View file @
923f1d1b
...
@@ -84,7 +84,6 @@ static VkResult (*pvkEnumerateInstanceExtensionProperties)(const char *, uint32_
...
@@ -84,7 +84,6 @@ static VkResult (*pvkEnumerateInstanceExtensionProperties)(const char *, uint32_
static
void
*
(
*
pvkGetDeviceProcAddr
)(
VkDevice
,
const
char
*
);
static
void
*
(
*
pvkGetDeviceProcAddr
)(
VkDevice
,
const
char
*
);
static
void
*
(
*
pvkGetInstanceProcAddr
)(
VkInstance
,
const
char
*
);
static
void
*
(
*
pvkGetInstanceProcAddr
)(
VkInstance
,
const
char
*
);
static
VkResult
(
*
pvkGetPhysicalDevicePresentRectanglesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkRect2D
*
);
static
VkResult
(
*
pvkGetPhysicalDevicePresentRectanglesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkRect2D
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceCapabilities2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
VkSurfaceCapabilities2KHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceCapabilitiesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
VkSurfaceCapabilitiesKHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceCapabilitiesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
VkSurfaceCapabilitiesKHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormats2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
uint32_t
*
,
VkSurfaceFormat2KHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormats2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
uint32_t
*
,
VkSurfaceFormat2KHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormatsKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkSurfaceFormatKHR
*
);
static
VkResult
(
*
pvkGetPhysicalDeviceSurfaceFormatsKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkSurfaceFormatKHR
*
);
...
@@ -123,7 +122,6 @@ static void wine_vk_init(void)
...
@@ -123,7 +122,6 @@ static void wine_vk_init(void)
LOAD_FUNCPTR
(
vkEnumerateInstanceExtensionProperties
);
LOAD_FUNCPTR
(
vkEnumerateInstanceExtensionProperties
);
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
);
LOAD_FUNCPTR
(
vkGetDeviceProcAddr
);
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
);
LOAD_FUNCPTR
(
vkGetInstanceProcAddr
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilities2KHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceCapabilitiesKHR
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormats2KHR
);
LOAD_OPTIONAL_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormats2KHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
);
LOAD_FUNCPTR
(
vkGetPhysicalDeviceSurfaceFormatsKHR
);
...
@@ -509,25 +507,6 @@ static VkResult X11DRV_vkGetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice
...
@@ -509,25 +507,6 @@ static VkResult X11DRV_vkGetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice
return
pvkGetPhysicalDevicePresentRectanglesKHR
(
phys_dev
,
x11_surface
->
host_surface
,
count
,
rects
);
return
pvkGetPhysicalDevicePresentRectanglesKHR
(
phys_dev
,
x11_surface
->
host_surface
,
count
,
rects
);
}
}
static
VkResult
X11DRV_vkGetPhysicalDeviceSurfaceCapabilities2KHR
(
VkPhysicalDevice
phys_dev
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
surface_info
,
VkSurfaceCapabilities2KHR
*
capabilities
)
{
VkPhysicalDeviceSurfaceInfo2KHR
surface_info_host
;
TRACE
(
"%p, %p, %p
\n
"
,
phys_dev
,
surface_info
,
capabilities
);
surface_info_host
=
*
surface_info
;
surface_info_host
.
surface
=
surface_from_handle
(
surface_info
->
surface
)
->
host_surface
;
if
(
pvkGetPhysicalDeviceSurfaceCapabilities2KHR
)
return
pvkGetPhysicalDeviceSurfaceCapabilities2KHR
(
phys_dev
,
&
surface_info_host
,
capabilities
);
/* Until the loader version exporting this function is common, emulate it using the older non-2 version. */
if
(
surface_info
->
pNext
||
capabilities
->
pNext
)
FIXME
(
"Emulating vkGetPhysicalDeviceSurfaceCapabilities2KHR with vkGetPhysicalDeviceSurfaceCapabilitiesKHR, pNext is ignored.
\n
"
);
return
pvkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
phys_dev
,
surface_info_host
.
surface
,
&
capabilities
->
surfaceCapabilities
);
}
static
VkResult
X11DRV_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
VkPhysicalDevice
phys_dev
,
static
VkResult
X11DRV_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(
VkPhysicalDevice
phys_dev
,
VkSurfaceKHR
surface
,
VkSurfaceCapabilitiesKHR
*
capabilities
)
VkSurfaceKHR
surface
,
VkSurfaceCapabilitiesKHR
*
capabilities
)
{
{
...
@@ -655,7 +634,6 @@ static const struct vulkan_funcs vulkan_funcs =
...
@@ -655,7 +634,6 @@ static const struct vulkan_funcs vulkan_funcs =
X11DRV_vkGetDeviceProcAddr
,
X11DRV_vkGetDeviceProcAddr
,
X11DRV_vkGetInstanceProcAddr
,
X11DRV_vkGetInstanceProcAddr
,
X11DRV_vkGetPhysicalDevicePresentRectanglesKHR
,
X11DRV_vkGetPhysicalDevicePresentRectanglesKHR
,
X11DRV_vkGetPhysicalDeviceSurfaceCapabilities2KHR
,
X11DRV_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
,
X11DRV_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
,
X11DRV_vkGetPhysicalDeviceSurfaceFormats2KHR
,
X11DRV_vkGetPhysicalDeviceSurfaceFormats2KHR
,
X11DRV_vkGetPhysicalDeviceSurfaceFormatsKHR
,
X11DRV_vkGetPhysicalDeviceSurfaceFormatsKHR
,
...
...
include/wine/vulkan_driver.h
View file @
923f1d1b
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
#define __WINE_VULKAN_DRIVER_H
#define __WINE_VULKAN_DRIVER_H
/* Wine internal vulkan driver version, needs to be bumped upon vulkan_funcs changes. */
/* Wine internal vulkan driver version, needs to be bumped upon vulkan_funcs changes. */
#define WINE_VULKAN_DRIVER_VERSION 1
4
#define WINE_VULKAN_DRIVER_VERSION 1
5
struct
vulkan_funcs
struct
vulkan_funcs
{
{
...
@@ -31,7 +31,6 @@ struct vulkan_funcs
...
@@ -31,7 +31,6 @@ struct vulkan_funcs
void
*
(
*
p_vkGetDeviceProcAddr
)(
VkDevice
,
const
char
*
);
void
*
(
*
p_vkGetDeviceProcAddr
)(
VkDevice
,
const
char
*
);
void
*
(
*
p_vkGetInstanceProcAddr
)(
VkInstance
,
const
char
*
);
void
*
(
*
p_vkGetInstanceProcAddr
)(
VkInstance
,
const
char
*
);
VkResult
(
*
p_vkGetPhysicalDevicePresentRectanglesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkRect2D
*
);
VkResult
(
*
p_vkGetPhysicalDevicePresentRectanglesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkRect2D
*
);
VkResult
(
*
p_vkGetPhysicalDeviceSurfaceCapabilities2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
VkSurfaceCapabilities2KHR
*
);
VkResult
(
*
p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
VkSurfaceCapabilitiesKHR
*
);
VkResult
(
*
p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
VkSurfaceCapabilitiesKHR
*
);
VkResult
(
*
p_vkGetPhysicalDeviceSurfaceFormats2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
uint32_t
*
,
VkSurfaceFormat2KHR
*
);
VkResult
(
*
p_vkGetPhysicalDeviceSurfaceFormats2KHR
)(
VkPhysicalDevice
,
const
VkPhysicalDeviceSurfaceInfo2KHR
*
,
uint32_t
*
,
VkSurfaceFormat2KHR
*
);
VkResult
(
*
p_vkGetPhysicalDeviceSurfaceFormatsKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkSurfaceFormatKHR
*
);
VkResult
(
*
p_vkGetPhysicalDeviceSurfaceFormatsKHR
)(
VkPhysicalDevice
,
VkSurfaceKHR
,
uint32_t
*
,
VkSurfaceFormatKHR
*
);
...
@@ -88,8 +87,6 @@ static inline void *get_vulkan_driver_instance_proc_addr(
...
@@ -88,8 +87,6 @@ static inline void *get_vulkan_driver_instance_proc_addr(
return
vulkan_funcs
->
p_vkGetInstanceProcAddr
;
return
vulkan_funcs
->
p_vkGetInstanceProcAddr
;
if
(
!
strcmp
(
name
,
"GetPhysicalDevicePresentRectanglesKHR"
))
if
(
!
strcmp
(
name
,
"GetPhysicalDevicePresentRectanglesKHR"
))
return
vulkan_funcs
->
p_vkGetPhysicalDevicePresentRectanglesKHR
;
return
vulkan_funcs
->
p_vkGetPhysicalDevicePresentRectanglesKHR
;
if
(
!
strcmp
(
name
,
"GetPhysicalDeviceSurfaceCapabilities2KHR"
))
return
vulkan_funcs
->
p_vkGetPhysicalDeviceSurfaceCapabilities2KHR
;
if
(
!
strcmp
(
name
,
"GetPhysicalDeviceSurfaceCapabilitiesKHR"
))
if
(
!
strcmp
(
name
,
"GetPhysicalDeviceSurfaceCapabilitiesKHR"
))
return
vulkan_funcs
->
p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
;
return
vulkan_funcs
->
p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR
;
if
(
!
strcmp
(
name
,
"GetPhysicalDeviceSurfaceFormats2KHR"
))
if
(
!
strcmp
(
name
,
"GetPhysicalDeviceSurfaceFormats2KHR"
))
...
...
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