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
89e7dc3a
Commit
89e7dc3a
authored
Jul 15, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't use vulkan_driver.h.
parent
c03409e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
26 deletions
+0
-26
adapter_vk.c
dlls/wined3d/adapter_vk.c
+0
-20
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
wined3d_vk.h
dlls/wined3d/wined3d_vk.h
+0
-5
No files found.
dlls/wined3d/adapter_vk.c
View file @
89e7dc3a
...
...
@@ -18,8 +18,6 @@
#include "wined3d_private.h"
#include "wine/vulkan_driver.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
static
const
struct
wined3d_state_entry_template
misc_state_template_vk
[]
=
...
...
@@ -214,7 +212,6 @@ static HRESULT hresult_from_vk_result(VkResult vr)
}
}
#ifdef USE_WIN32_VULKAN
static
BOOL
wined3d_load_vulkan
(
struct
wined3d_vk_info
*
vk_info
)
{
struct
vulkan_ops
*
vk_ops
=
&
vk_info
->
vk_ops
;
...
...
@@ -244,23 +241,6 @@ static void wined3d_unload_vulkan(struct wined3d_vk_info *vk_info)
vk_info
->
vulkan_lib
=
NULL
;
}
}
#else
static
BOOL
wined3d_load_vulkan
(
struct
wined3d_vk_info
*
vk_info
)
{
struct
vulkan_ops
*
vk_ops
=
&
vk_info
->
vk_ops
;
const
struct
vulkan_funcs
*
vk_funcs
;
vk_funcs
=
__wine_get_vulkan_driver
(
WINE_VULKAN_DRIVER_VERSION
);
if
(
!
vk_funcs
)
return
FALSE
;
vk_ops
->
vkGetInstanceProcAddr
=
(
void
*
)
vk_funcs
->
p_vkGetInstanceProcAddr
;
return
TRUE
;
}
static
void
wined3d_unload_vulkan
(
struct
wined3d_vk_info
*
vk_info
)
{}
#endif
static
void
adapter_vk_destroy
(
struct
wined3d_adapter
*
adapter
)
{
...
...
dlls/wined3d/wined3d_private.h
View file @
89e7dc3a
...
...
@@ -25,7 +25,6 @@
#ifndef __WINE_WINED3D_PRIVATE_H
#define __WINE_WINED3D_PRIVATE_H
#define USE_WIN32_VULKAN
#define USE_WIN32_OPENGL
#ifdef USE_WIN32_OPENGL
...
...
dlls/wined3d/wined3d_vk.h
View file @
89e7dc3a
...
...
@@ -20,9 +20,6 @@
#define __WINE_WINED3D_VK_H
#define VK_NO_PROTOTYPES
#ifndef USE_WIN32_VULKAN
#define WINE_VK_HOST
#endif
#include "wine/vulkan.h"
#define VK_INSTANCE_FUNCS() \
...
...
@@ -225,9 +222,7 @@ struct wined3d_vk_info
unsigned
int
api_version
;
BOOL
supported
[
WINED3D_VK_EXT_COUNT
];
#ifdef USE_WIN32_VULKAN
HMODULE
vulkan_lib
;
#endif
};
#define VK_CALL(f) (vk_info->vk_ops.f)
...
...
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