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
f197125c
Commit
f197125c
authored
Mar 18, 2023
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rotate vk bind masks in wined3d_swapchain_vk_rotate.
parent
aa5915ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
swapchain.c
dlls/wined3d/swapchain.c
+4
-0
No files found.
dlls/wined3d/swapchain.c
View file @
f197125c
...
...
@@ -1163,6 +1163,7 @@ static void wined3d_swapchain_vk_rotate(struct wined3d_swapchain *swapchain, str
struct
wined3d_image_vk
image0
;
VkDescriptorImageInfo
vk_info0
;
VkImageLayout
vk_layout0
;
uint32_t
bind_mask0
;
DWORD
locations0
;
unsigned
int
i
;
...
...
@@ -1176,6 +1177,7 @@ static void wined3d_swapchain_vk_rotate(struct wined3d_swapchain *swapchain, str
/* Back buffer 0 is already in the draw binding. */
image0
=
texture_prev
->
image
;
vk_layout0
=
texture_prev
->
layout
;
bind_mask0
=
texture_prev
->
bind_mask
;
vk_info0
=
texture_prev
->
default_image_info
;
locations0
=
texture_prev
->
t
.
sub_resources
[
0
].
locations
;
...
...
@@ -1189,6 +1191,7 @@ static void wined3d_swapchain_vk_rotate(struct wined3d_swapchain *swapchain, str
texture_prev
->
image
=
texture
->
image
;
texture_prev
->
layout
=
texture
->
layout
;
texture_prev
->
bind_mask
=
texture
->
bind_mask
;
texture_prev
->
default_image_info
=
texture
->
default_image_info
;
wined3d_texture_validate_location
(
&
texture_prev
->
t
,
0
,
sub_resource
->
locations
&
supported_locations
);
...
...
@@ -1199,6 +1202,7 @@ static void wined3d_swapchain_vk_rotate(struct wined3d_swapchain *swapchain, str
texture_prev
->
image
=
image0
;
texture_prev
->
layout
=
vk_layout0
;
texture_prev
->
bind_mask
=
bind_mask0
;
texture_prev
->
default_image_info
=
vk_info0
;
wined3d_texture_validate_location
(
&
texture_prev
->
t
,
0
,
locations0
&
supported_locations
);
...
...
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