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
97548eb4
Commit
97548eb4
authored
Dec 22, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move struct wined3d_buffer_vk to wined3d_vk.h.
parent
80667b9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-21
wined3d_vk.h
dlls/wined3d/wined3d_vk.h
+21
-0
No files found.
dlls/wined3d/wined3d_private.h
View file @
97548eb4
...
...
@@ -112,7 +112,6 @@ static inline const char *wined3d_get_line(const char **ptr, const char *end)
struct
wined3d_fragment_pipe_ops
;
struct
wined3d_adapter
;
struct
wined3d_buffer_vk
;
struct
wined3d_context
;
struct
wined3d_context_vk
;
struct
wined3d_gl_info
;
...
...
@@ -4778,26 +4777,6 @@ HRESULT wined3d_buffer_gl_init(struct wined3d_buffer_gl *buffer_gl, struct wined
#include "wined3d_vk.h"
struct
wined3d_buffer_vk
{
struct
wined3d_buffer
b
;
VkDescriptorBufferInfo
buffer_info
;
uint32_t
bind_mask
;
};
static
inline
struct
wined3d_buffer_vk
*
wined3d_buffer_vk
(
struct
wined3d_buffer
*
buffer
)
{
return
CONTAINING_RECORD
(
buffer
,
struct
wined3d_buffer_vk
,
b
);
}
void
wined3d_buffer_vk_barrier
(
struct
wined3d_buffer_vk
*
buffer_vk
,
struct
wined3d_context_vk
*
context_vk
,
uint32_t
bind_mask
)
DECLSPEC_HIDDEN
;
const
VkDescriptorBufferInfo
*
wined3d_buffer_vk_get_buffer_info
(
struct
wined3d_buffer_vk
*
buffer_vk
)
DECLSPEC_HIDDEN
;
HRESULT
wined3d_buffer_vk_init
(
struct
wined3d_buffer_vk
*
buffer_vk
,
struct
wined3d_device
*
device
,
const
struct
wined3d_buffer_desc
*
desc
,
const
struct
wined3d_sub_resource_data
*
data
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
static
inline
void
wined3d_resource_vk_barrier
(
struct
wined3d_resource
*
resource
,
struct
wined3d_context_vk
*
context_vk
,
uint32_t
bind_mask
)
{
...
...
dlls/wined3d/wined3d_vk.h
View file @
97548eb4
...
...
@@ -25,6 +25,7 @@
#define VK_NO_PROTOTYPES
#include "wine/vulkan.h"
struct
wined3d_buffer_vk
;
struct
wined3d_device_vk
;
#define VK_INSTANCE_FUNCS() \
...
...
@@ -859,4 +860,24 @@ void wined3d_sampler_vk_init(struct wined3d_sampler_vk *sampler_vk,
struct
wined3d_device
*
device
,
const
struct
wined3d_sampler_desc
*
desc
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
struct
wined3d_buffer_vk
{
struct
wined3d_buffer
b
;
VkDescriptorBufferInfo
buffer_info
;
uint32_t
bind_mask
;
};
static
inline
struct
wined3d_buffer_vk
*
wined3d_buffer_vk
(
struct
wined3d_buffer
*
buffer
)
{
return
CONTAINING_RECORD
(
buffer
,
struct
wined3d_buffer_vk
,
b
);
}
void
wined3d_buffer_vk_barrier
(
struct
wined3d_buffer_vk
*
buffer_vk
,
struct
wined3d_context_vk
*
context_vk
,
uint32_t
bind_mask
)
DECLSPEC_HIDDEN
;
const
VkDescriptorBufferInfo
*
wined3d_buffer_vk_get_buffer_info
(
struct
wined3d_buffer_vk
*
buffer_vk
)
DECLSPEC_HIDDEN
;
HRESULT
wined3d_buffer_vk_init
(
struct
wined3d_buffer_vk
*
buffer_vk
,
struct
wined3d_device
*
device
,
const
struct
wined3d_buffer_desc
*
desc
,
const
struct
wined3d_sub_resource_data
*
data
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_WINED3D_VK */
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