Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3d05e4da
Commit
3d05e4da
authored
May 13, 2020
by
Henri Verbeet
Committed by
Alexandre Julliard
May 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement Vulkan image unordered access view descriptors.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d9db5298
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
context_vk.c
dlls/wined3d/context_vk.c
+13
-2
No files found.
dlls/wined3d/context_vk.c
View file @
3d05e4da
...
...
@@ -1419,8 +1419,14 @@ static bool wined3d_context_vk_update_descriptors(struct wined3d_context_vk *con
}
else
{
FIXME
(
"Image UAVs not implemented.
\n
"
);
return
false
;
struct
wined3d_texture_vk
*
texture_vk
=
wined3d_texture_vk
(
texture_from_resource
(
resource
));
if
(
view_vk
->
u
.
vk_image_info
.
imageView
)
image_info
=
&
view_vk
->
u
.
vk_image_info
;
else
image_info
=
wined3d_texture_vk_get_default_image_info
(
texture_vk
,
context_vk
);
buffer_view
=
NULL
;
type
=
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
;
}
if
(
!
wined3d_shader_descriptor_writes_vk_add_write
(
writes
,
vk_descriptor_set
,
...
...
@@ -1602,6 +1608,11 @@ static void wined3d_context_vk_load_shader_resources(struct wined3d_context_vk *
wined3d_buffer_load
(
buffer_from_resource
(
uav
->
resource
),
&
context_vk
->
c
,
state
);
wined3d_unordered_access_view_invalidate_location
(
uav
,
~
WINED3D_LOCATION_BUFFER
);
}
else
{
wined3d_texture_load
(
texture_from_resource
(
uav
->
resource
),
&
context_vk
->
c
,
FALSE
);
wined3d_unordered_access_view_invalidate_location
(
uav
,
~
WINED3D_LOCATION_TEXTURE_RGB
);
}
wined3d_context_vk_reference_unordered_access_view
(
context_vk
,
uav_vk
);
break
;
...
...
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