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
d888cbcb
Commit
d888cbcb
authored
Jul 05, 2021
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use wined3d_mask_from_size() in wined3d_render_pass_vk_init().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
76cef086
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
context_vk.c
dlls/wined3d/context_vk.c
+2
-2
No files found.
dlls/wined3d/context_vk.c
View file @
d888cbcb
...
...
@@ -1154,7 +1154,7 @@ static bool wined3d_render_pass_vk_init(struct wined3d_render_pass_vk *pass,
rt_count
=
0
;
attachment_count
=
0
;
mask
=
key
->
rt_mask
&
((
1u
<<
WINED3D_MAX_RENDER_TARGETS
)
-
1
);
mask
=
key
->
rt_mask
&
wined3d_mask_from_size
(
WINED3D_MAX_RENDER_TARGETS
);
while
(
mask
)
{
i
=
wined3d_bit_scan
(
&
mask
);
...
...
@@ -1181,7 +1181,7 @@ static bool wined3d_render_pass_vk_init(struct wined3d_render_pass_vk *pass,
rt_count
=
i
+
1
;
}
mask
=
~
key
->
rt_mask
&
((
1u
<<
rt_count
)
-
1
);
mask
=
~
key
->
rt_mask
&
wined3d_mask_from_size
(
rt_count
);
while
(
mask
)
{
i
=
wined3d_bit_scan
(
&
mask
);
...
...
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