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
06b958d5
Commit
06b958d5
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_shader_resource_view_vk to wined3d_vk.h.
parent
07283df7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
41 deletions
+41
-41
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-41
wined3d_vk.h
dlls/wined3d/wined3d_vk.h
+39
-0
No files found.
dlls/wined3d/wined3d_private.h
View file @
06b958d5
...
...
@@ -4869,47 +4869,6 @@ HRESULT wined3d_shader_resource_view_gl_init(struct wined3d_shader_resource_view
void
wined3d_shader_resource_view_gl_update
(
struct
wined3d_shader_resource_view_gl
*
srv_gl
,
struct
wined3d_context_gl
*
context_gl
)
DECLSPEC_HIDDEN
;
#include "wined3d_vk.h"
struct
wined3d_view_vk
{
struct
wined3d_bo_user
bo_user
;
union
{
VkBufferView
vk_buffer_view
;
VkDescriptorImageInfo
vk_image_info
;
}
u
;
uint64_t
command_buffer_id
;
};
struct
wined3d_shader_resource_view_vk
{
struct
wined3d_shader_resource_view
v
;
struct
wined3d_view_vk
view_vk
;
};
static
inline
struct
wined3d_shader_resource_view_vk
*
wined3d_shader_resource_view_vk
(
struct
wined3d_shader_resource_view
*
view
)
{
return
CONTAINING_RECORD
(
view
,
struct
wined3d_shader_resource_view_vk
,
v
);
}
static
inline
void
wined3d_shader_resource_view_vk_barrier
(
struct
wined3d_shader_resource_view_vk
*
srv_vk
,
struct
wined3d_context_vk
*
context_vk
,
uint32_t
bind_mask
)
{
wined3d_resource_vk_barrier
(
srv_vk
->
v
.
resource
,
context_vk
,
bind_mask
);
}
void
wined3d_shader_resource_view_vk_generate_mipmap
(
struct
wined3d_shader_resource_view_vk
*
srv_vk
,
struct
wined3d_context_vk
*
context_vk
)
DECLSPEC_HIDDEN
;
HRESULT
wined3d_shader_resource_view_vk_init
(
struct
wined3d_shader_resource_view_vk
*
view_vk
,
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
void
wined3d_shader_resource_view_vk_update_buffer
(
struct
wined3d_shader_resource_view_vk
*
view_vk
,
struct
wined3d_context_vk
*
context_vk
)
DECLSPEC_HIDDEN
;
void
wined3d_shader_resource_view_vk_update_layout
(
struct
wined3d_shader_resource_view_vk
*
srv_vk
,
VkImageLayout
layout
)
DECLSPEC_HIDDEN
;
struct
wined3d_unordered_access_view
{
LONG
refcount
;
...
...
@@ -4954,6 +4913,8 @@ HRESULT wined3d_unordered_access_view_gl_init(struct wined3d_unordered_access_vi
void
wined3d_unordered_access_view_gl_update
(
struct
wined3d_unordered_access_view_gl
*
uav_gl
,
struct
wined3d_context_gl
*
context_gl
)
DECLSPEC_HIDDEN
;
#include "wined3d_vk.h"
struct
wined3d_unordered_access_view_vk
{
struct
wined3d_unordered_access_view
v
;
...
...
dlls/wined3d/wined3d_vk.h
View file @
06b958d5
...
...
@@ -925,4 +925,43 @@ HRESULT wined3d_rendertarget_view_vk_init(struct wined3d_rendertarget_view_vk *v
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
struct
wined3d_view_vk
{
struct
wined3d_bo_user
bo_user
;
union
{
VkBufferView
vk_buffer_view
;
VkDescriptorImageInfo
vk_image_info
;
}
u
;
uint64_t
command_buffer_id
;
};
struct
wined3d_shader_resource_view_vk
{
struct
wined3d_shader_resource_view
v
;
struct
wined3d_view_vk
view_vk
;
};
static
inline
struct
wined3d_shader_resource_view_vk
*
wined3d_shader_resource_view_vk
(
struct
wined3d_shader_resource_view
*
view
)
{
return
CONTAINING_RECORD
(
view
,
struct
wined3d_shader_resource_view_vk
,
v
);
}
static
inline
void
wined3d_shader_resource_view_vk_barrier
(
struct
wined3d_shader_resource_view_vk
*
srv_vk
,
struct
wined3d_context_vk
*
context_vk
,
uint32_t
bind_mask
)
{
wined3d_resource_vk_barrier
(
srv_vk
->
v
.
resource
,
context_vk
,
bind_mask
);
}
void
wined3d_shader_resource_view_vk_generate_mipmap
(
struct
wined3d_shader_resource_view_vk
*
srv_vk
,
struct
wined3d_context_vk
*
context_vk
)
DECLSPEC_HIDDEN
;
HRESULT
wined3d_shader_resource_view_vk_init
(
struct
wined3d_shader_resource_view_vk
*
view_vk
,
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
void
wined3d_shader_resource_view_vk_update_buffer
(
struct
wined3d_shader_resource_view_vk
*
view_vk
,
struct
wined3d_context_vk
*
context_vk
)
DECLSPEC_HIDDEN
;
void
wined3d_shader_resource_view_vk_update_layout
(
struct
wined3d_shader_resource_view_vk
*
srv_vk
,
VkImageLayout
layout
)
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